Show
Ignore:
Timestamp:
20.01.2012 16:22:35 (8 years ago)
Author:
ak19
Message:

First commit to do with Greenstone's support for RSS. Committing Dr Bainbridge's code which was already working for windows. This has now been tested on Linux, where it can be got to work with changes to zextra.dm and base.dm and if the rss-items.rdf file generated by the update to BasePlugout? is moved to the index folder). The next set of commits will make the way rssaction.cpp accesses the rss-items.rdf file independent of where the GS server is located, with changes to the protocol class.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/configure

    r24901 r24958  
    310310 
    311311ac_subdirs_all="$ac_subdirs_all packages" 
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_RSS USE_APACHE_HTTPD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 
    313313ac_subst_files='' 
    314314 
     
    862862  --disable-accentfold    Disable Accent Folding for MGPP 
    863863  --disable-sqlite        Disable SQLite support 
     864  --disable-rss        Disable RSS support 
    864865  --enable-apache-httpd  Enable Apache httpd support 
    865866  --disable-mg        Disable MG compilation 
     
    15191520 
    15201521 
     1522# Check whether --enable-rss or --disable-rss was given. 
     1523if test "${enable_rss+set}" = set; then 
     1524  enableval="$enable_rss" 
     1525  USE_RSS=$enableval 
     1526else 
     1527  USE_RSS=yes 
     1528fi; 
     1529if test $USE_RSS = "yes" -o $USE_RSS = "1" ; then 
     1530  USE_RSS=1 
     1531  cat >>confdefs.h <<\_ACEOF 
     1532#define USE_RSS 
     1533_ACEOF 
     1534 
     1535else 
     1536  USE_RSS=0 
     1537fi 
     1538 
     1539 
     1540 
    15211541# Check whether --enable-apache-httpd or --disable-apache-httpd was given. 
    15221542if test "${enable_apache_httpd+set}" = set; then 
     
    29913011CLASS_TEST=Test.class 
    29923012cat << \EOF > $JAVA_TEST 
    2993 /* #line 2993 "configure" */ 
     3013/* #line 3013 "configure" */ 
    29943014public class Test { 
    29953015} 
     
    31683188        ac_cv_prog_uudecode_base64=yes 
    31693189else 
    3170         echo "configure: 3170: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 
     3190        echo "configure: 3190: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 
    31713191        echo "configure: failed file was:" >&5 
    31723192        cat Test.uue >&5 
     
    32923312CLASS_TEST=Test.class 
    32933313cat << \EOF > $JAVA_TEST 
    3294 /* #line 3294 "configure" */ 
     3314/* #line 3314 "configure" */ 
    32953315public class Test { 
    32963316} 
     
    33333353TEST=Test 
    33343354cat << \EOF > $JAVA_TEST 
    3335 /* [#]line 3335 "configure" */ 
     3355/* [#]line 3355 "configure" */ 
    33363356public class Test { 
    33373357public static void main (String args[]) { 
     
    85048524s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 
    85058525s,@USE_SQLITE@,$USE_SQLITE,;t t 
     8526s,@USE_RSS@,$USE_RSS,;t t 
    85068527s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 
    85078528s,@ENABLE_MG@,$ENABLE_MG,;t t