LiveJournal Backup / Search Utility

Copyright orona_redorona_red

 

The LiveJournal Backup / Search Utility uses HTML templates to format the output for HTML files. There are two HTML templates:

Main HTML Template
The main HTML template contains the body of the HTML. It should be a normal HTML file, except for one difference: Where you want your LiveJournal entries to appear, you should have %%ENTRY%% in the file. The program will replace this with the entry template as seen below.

The Entry HTML Template
The entry HTML template contains a HTML section - it is not a complete file (no start and end tags) - The entry template will be inserted into the Main template each time a Journal entry needs to be placed in. The entry file may contain special keywords which will be replaced by their actual correct values when the program is run:

Keyword Replacement
%%ITEMID%%
The ItemID of the Journal Entry
%%EVENTTIME%%
The time the entry was posted
%%SUBJECT%%
The subject of the entry
%%EVENT%%
The body of the journal entry
%%SECURITY%%
The security level: public, private or usemask
%%ALLOWMASK%%
The mask for security usemask
%%CURRENT_MUSIC%%
The music listed in the entry
%%CURRENT_MOOD%%
The mood of the user in the entry