Show
Ignore:
Timestamp:
20.01.2012 20:48:26 (8 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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/corba/corbaproto.h

    r15471 r24959  
    8686              InfoFilterOptionsResponse_t &response,  
    8787              comerror_t &err, ostream &logout); 
     88 
     89  // returns the contents of a collection's rss-items.rdf file (generated by BasePlugout) 
     90  void get_rss_items (const text_t &collection,  
     91              const text_t &gsdlhome,  
     92              text_t &rss_items,  
     93              comerror_t &err,  
     94              ostream &logout); 
     95 
    8896  void filter (const text_t &collection, 
    8997           FilterRequest_t &request,