htdocs: New news/announcement format.

Neil Williams linux at codehelp.co.uk
Sun Jan 22 06:00:01 EST 2006


The old news files relied on the file modification time to indicate the time 
of the news announcement. In a version controlled environment this, 
naturally, becomes unreliable.

I've adapted the current TXT format for news announcements to have a date 
included in the "header".

The FIRST line of any announcement should now be a brief topic. You can use 
<b></b> if you want to.

The SECOND line of any announcement is for a timestamp. Any format can be 
used, current files have simply replicated what is currently on the main 
website:
Y-m-d H:M:S

If the second line is blank, the file modification time is used but this isn't 
recommended.

All existing files have been modified to the new format using the times shown 
by the current website.

You can use HTML tags within the announcement as long as you close any and all 
tags you open AND that all such tags are compliant with HTML 4.01 Strict. 
i.e. no FONT tags or bgcolor attributes - use local CSS with the style="" 
attribute.

Finally, news files are in news/[language] - if a translated news message 
exists, it is used instead of the English default.

I've updated my mirror at http://gnucash.neil.williamsleesmill.me.uk/

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060122/def7a8d1/attachment.bin


More information about the gnucash-devel mailing list