Ignore:
Timestamp:
2012-01-20T16:22:35+13:00 (12 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/win32.mak

    r24902 r24958  
    4545DLLDEBUG = 0
    4646ENABLE_ACCENTFOLD = 1
     47USE_RSS = 1
    4748USE_GDBM = 1
    4849USE_JDBM = 1
     
    7980!ELSE
    8081ACCENTFOLD_LIBS =
     82!ENDIF
     83
     84!IF $(USE_RSS)
     85RSS_DEFINES = -DUSE_RSS
     86RSS_SOURCES = rssaction.cpp
     87RSS_OBJECTS = rssaction.obj
     88!ELSE
     89RSS_DEFINES =
     90RSS_SOURCES =
     91RSS_OBJECTS =
    8192!ENDIF
    8293
     
    187198CC = cl
    188199DEFS = -D__WIN32__ -DHAVE_CONFIG_H -DPARADOCNUM -D_LITTLE_ENDIAN -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE \
    189         -DGSDL_NOCACHE $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) $(MSSQL_DEFINES) \
     200    -DGSDL_NOCACHE $(RSS_DEFINES) $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) $(MSSQL_DEFINES) \
    190201    $(Z3950_DEFS) $(MG_DEFS) $(MGPP_DEFS) $(LUCENE_DEFS)
    191202INCLUDES = -I. -I"$(GSDL_DIR)" -I"$(COMMON_DIR)\src\lib" -I"$(COLSERVR_DIR)" -I"$(PROTOCOL_DIR)" \
     
    205216!ENDIF
    206217
     218CXXFLAGS = $(CXXFLAGS) -DDOCHANDLE
    207219
    208220COMPILE = $(CC) -nologo -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
     
    263275    querytools.cpp \
    264276    receptionist.cpp \
     277    $(RSS_SOURCES) \
    265278    statusaction.cpp \
    266279    $(SQL_SOURCES) \
     
    311324    querytools.obj \
    312325    receptionist.obj \
     326    $(RSS_OBJECTS) \
    313327    statusaction.obj \
    314328    $(SQL_OBJECTS) \
Note: See TracChangeset for help on using the changeset viewer.