Ignore:
Timestamp:
2012-01-20T20:48:26+13:00 (12 years ago)
Author:
ak19
Message:

Second commit to do with Greenstone's support for RSS. Has been tested on Linux, and works if zextra.dm and base.dm are setup properly and if the rss-items.rdf file generated by the update to BasePlugout is moved to the index folder. Modified Dr Bainbridge's code to make the way that rssaction.cpp accesses the rss-items.rdf file independent of where the GS server is located, by adding a new method to get the rss-items.rdf file's contents to the recptproto protocol class and implementing it in nullproto. The method is also mirrored in corba/corbaproto, however compilation with corba fails in a part of the code that I've not modified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/protocol/nullproto.h

    r16310 r24959  
    8181              InfoFilterOptionsResponse_t &response,
    8282              comerror_t &err, ostream &logout);
     83
     84  // returns the contents of a collection's rss-items.rdf file (generated by BasePlugout)
     85  void get_rss_items (const text_t &collection,
     86              const text_t &gsdlhome,
     87              text_t &rss_items,
     88              comerror_t &err,
     89              ostream &logout);
     90
    8391  void filter (const text_t &collection,
    8492           FilterRequest_t &request,
Note: See TracChangeset for help on using the changeset viewer.