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/configure

    r23802 r24958  
    312312ac_subdirs_all="$ac_subdirs_all build-src" 
    313313ac_subdirs_all="$ac_subdirs_all runtime-src" 
    314 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 ENABLE_JAVA USE_Z3950 USE_YAZ USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX 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 MODULEDIRS subdirs LTLIBOBJS' 
     314ac_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 ENABLE_JAVA USE_Z3950 USE_YAZ USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_RSS USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX 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 MODULEDIRS subdirs LTLIBOBJS' 
    315315ac_subst_files='' 
    316316 
     
    865865  --disable-accentfold    Disable Accent Folding for MGPP 
    866866  --disable-sqlite        Disable SQLite support 
     867  --disable-rss        Disable RSS support 
    867868  --enable-apache-httpd   Enable Apache httpd support 
    868869  --enable-jni            Enable JNI compilation 
     
    15401541 
    15411542 
     1543# Check whether --enable-rss or --disable-rss was given. 
     1544if test "${enable_rss+set}" = set; then 
     1545  enableval="$enable_rss" 
     1546  USE_RSS=$enableval 
     1547else 
     1548  USE_RSS=yes 
     1549fi; 
     1550if test $USE_RSS = "yes" -o $USE_RSS = "1" ; then 
     1551  USE_RSS=1 
     1552  cat >>confdefs.h <<\_ACEOF 
     1553#define USE_RSS 
     1554_ACEOF 
     1555 
     1556else 
     1557  USE_RSS=0 
     1558fi 
     1559 
     1560 
     1561 
    15421562if test -d runtime-src; then 
    15431563   # Check whether --enable-apache-httpd or --disable-apache-httpd was given. 
     
    80668086s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 
    80678087s,@USE_SQLITE@,$USE_SQLITE,;t t 
     8088s,@USE_RSS@,$USE_RSS,;t t 
    80688089s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 
    80698090s,@ENABLE_JNI@,$ENABLE_JNI,;t t