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/recptproto.h

    r22142 r24959  
    116116                  InfoFilterOptionsResponse_t &response,
    117117                  comerror_t &err, ostream &logout);
     118
     119  // returns the contents of a collection's rss-items.rdf file (generated by BasePlugout)
     120  virtual void get_rss_items (const text_t &collection,
     121                  const text_t &gsdlhome,
     122                  text_t &rss_items,
     123                  comerror_t &err,
     124                  ostream &logout);
    118125
    119126  // filters (search or browse) a result set and returns information
Note: See TracChangeset for help on using the changeset viewer.