Method | Description | |
---|---|---|
Build_All_Browse ( SobekCM.Library.Aggregations.Item_Aggregation Aggregation, |
Build the browse all static HTML file that includes links to all items in a particular collection
|
|
Build_Site_Maps ( ) : int |
Builds all of the site map files which point to the static HTML pages
|
|
Create_Item_Citation_HTML ( |
Create the static HTML citation page for a single digital resource
|
|
Create_Item_Citation_HTML ( string BIBID, string VID, string Static_FileName, string Text_File_Directory, SobekCM.Library.Application_State.Item_Lookup_Object Item_List ) : bool |
Create the static HTML citation page for a single digital resource THis is generally called by the SobekCM Builder windows application/scheduled task |
|
Create_MarcXML_File ( string BIBID, string VID, string DestinationDirectory, SobekCM.Library.Application_State.Item_Lookup_Object Item_List ) : bool |
Creates the static MarcXML file for a digital resource
|
|
Create_RSS_Feed ( string Collection_Code, string RssFeedLocation, string Collection_Title, |
Create the RSS feed files necessary
|
|
Display_Footer ( |
Writes the static footer to go at the bottom of the static digital resource page
|
|
Display_Header ( |
Writes the static header to go at the top of the static digital resource page
|
|
Display_Header ( |
Writes the static header to go at the top of the static digital resource page
|
|
Rebuild_All_MARC_Files ( string ResourceDirectory ) : int |
Rebuilds all MarcXML files
|
|
Rebuild_All_Static_Pages ( SobekCM.Tools.Logs.LogFileXhtml Logger, bool BuildAllCitationPages, string InstanceName, long PrimaryLogId ) : int |
Rebuilds all static pages, including the RSS feeds and site maps
|
|
Refresh ( ) : void |
Forces this builder clsas to refresh all of the data values from the database
|
|
Static_Pages_Builder ( string Primary_Web_Server_URL, string Static_Data_Location, string Default_Skin ) : System |
Constructor for a new instance of the Static_Pages_Builder class
|
Method | Description | |
---|---|---|
Finish_writing_html ( |
||
recursively_write_toc ( |
public Build_All_Browse ( SobekCM.Library.Aggregations.Item_Aggregation Aggregation, |
||
Aggregation | SobekCM.Library.Aggregations.Item_Aggregation | Aggregation object for which to build the browse ALL static html page |
AllItems | List of all items linked to that aggregation/collection | |
return | bool |
public Create_Item_Citation_HTML ( |
||
Current_Item | Digital resource to write as static citaion html | |
Static_FileName | string | Name of the resulting html file |
Text_File_Directory | string | Directory where any text files may exist for this resource |
return | bool |
public Create_Item_Citation_HTML ( string BIBID, string VID, string Static_FileName, string Text_File_Directory, SobekCM.Library.Application_State.Item_Lookup_Object Item_List ) : bool | ||
BIBID | string | Bibliographic identifier for the digital resource |
VID | string | Volume idenfitier for the digital resource |
Static_FileName | string | Name of the resulting html file |
Text_File_Directory | string | Directory where any text files may exist for this resource |
Item_List | SobekCM.Library.Application_State.Item_Lookup_Object | Item lookup object |
return | bool |
public Create_MarcXML_File ( string BIBID, string VID, string DestinationDirectory, SobekCM.Library.Application_State.Item_Lookup_Object Item_List ) : bool | ||
BIBID | string | Bibliographic identifier ( BibID ) |
VID | string | Volume identifier ( VID ) |
DestinationDirectory | string | Directory where the resultant MarcXML file should be written |
Item_List | SobekCM.Library.Application_State.Item_Lookup_Object | Item lookup object |
return | bool |
public Create_RSS_Feed ( string Collection_Code, string RssFeedLocation, string Collection_Title, |
||
Collection_Code | string | Aggregation Code for this collection |
RssFeedLocation | string | Location for the updated RSS feed to be updated |
Collection_Title | string | Title of this aggregation/collection |
AllItems | DataSet of all items within this aggregation | |
return | bool |
public Display_Footer ( |
||
Writer | Open stream to write the HTML footer to | |
HTMLSkin | Web_Skin_Object | Default html web skin/interface |
return | void |
public Display_Header ( |
||
Writer | Open stream to write the HTML header to | |
HTMLSkin | Web_Skin_Object | Default html web skin/interface |
CurrentItem | Current item, to include the aggregationPermissions in the breadcrumbs | |
return | void |
public Display_Header ( |
||
Writer | Open stream to write the HTML header to | |
HTMLSkin | Web_Skin_Object | Default html web skin/interface |
Banner | string | Banner HTML |
return | void |
public Rebuild_All_MARC_Files ( string ResourceDirectory ) : int | ||
ResourceDirectory | string | Directory under which all the resources within this SobekCM library exist |
return | int |
public Rebuild_All_Static_Pages ( SobekCM.Tools.Logs.LogFileXhtml Logger, bool BuildAllCitationPages, string InstanceName, long PrimaryLogId ) : int | ||
Logger | SobekCM.Tools.Logs.LogFileXhtml | Log file to record progress |
BuildAllCitationPages | bool | Flag indicates to build the individual static HTML pages for each digital resource |
InstanceName | string | Name of this instance |
PrimaryLogId | long | Log ID in the case this is the builder and it has been pre-logged |
return | int |
public Static_Pages_Builder ( string Primary_Web_Server_URL, string Static_Data_Location, string Default_Skin ) : System | ||
Primary_Web_Server_URL | string | URL for the primary web server |
Static_Data_Location | string | Network location for the data directory |
Default_Skin | string | Default skin code |
return | System |