First, add the following 3 lines on config.php, just below the line which says "$XmlLimit="10";"
# RSS variables
$ssRSS_Description = "This should be a longer description of your site";
$ssRSS_Copyright = "(c) 2005 by Yours Truly. All rights reserved.";
$ssRSS_Timezone = "GMT";
(change those to reflect your own site's preferences)
Then, go to your own site, look up the interface (or object...) that has your
code, and just after the call to the CSS file (if you call it at all) put:
if($thigh+$tlow>0)
{
$query="SELECT ARTICLEbase.serial from ARTICLEbase,ARTICLEtopic WHERE ARTICLEbase.serial=ARTICLEtopic.article and ARTICLEbase.aprovado>0 and ARTICLEbase.lastchanged=$tlow and ARTICLEtopic.topic<=$thigh ORDER BY ARTICLEbase.lastchanged DESC LIMIT 0,$XmlLimit";
}
else
{
$query="SELECT serial from ARTICLEbase WHERE aprovado>0 and lastchanged }
if($id>0)
{
#
# Load the article base settings
#
if($result=mysql_query("SELECT * from ARTICLEbase where serial=$id AND aprovado>0", $dblink))
{
$gotone=0;
while($row = mysql_fetch_object($result))
{
$base_serial= $row -> serial;
$base_title= $row -> title;
$base_lastchanged= $row -> lastchanged;
$xmlart ="\n";
// do some tweaking of the date to conform to RFC-822
$publishdate ="\t".date("D, d M Y H:i:s", mssql_date_parser($base_lastchanged))." $ssRSS_Timezone\n";
}
#
# Load the article contents (if any)
#
$xmlart3="";
if($result=mysql_query("SELECT * from ARTICLEcontent where artigo=$id ORDER BY type", $dblink))
{
May I want to translate Siteseed to another language?
Sure... all strings are isolated in the code and it´s really easy to do. If you want to donate your work to the project we will be glad to incorporate it. But you can also license it under your own terms (in which case it will _NOT_ get incorporated into Siteseed: only BSD licensed material gets into Siteseed).
We reveived already translations to:
German (Marcus Schweiker - marcus@schweiker.net)
French (Roméo VIU-BERGES - ApostleDemencia@aol.com)
English (Mr Net staff - code@mrnet.pt)
Portuguese (Mr Net staff - code@mrnet.pt)
These are now integrated in the main package. If you find errors in a certain translation send them in to code@mrnet.pt and we will forward it to the person handling the language).
Check the file TRANSLATORS included in the Siteseed archive.
If you want to explore further or debate one of the answers feel free to do so by following the link presented in its box. Help us improve our FAQ with your participation.
If a answer to your question is not present already please go straight to one of the other forums:
"Security" (report and get help with security problems)
Rules when posting messages:
No HTML/Javascript is allowed. PHP can be entered but not enclose it in "tags" ("<?php", "<?" or ">") or mix it with HTML tags (since they will be stripped from the message). If you want to send code mail it directly to other users with a CC to code@mrnet.pt. If it´s usefull will add it to the faq answer.
Do not insult people and be polite.
The FAQ/FORUM moderators will delete all messages that are not considered usefull from time to time. This is required to keep the FAQ and forums usefull and readable.
Registered users (that have logged into the system) will have their postings on display instantly, anonymous users wont - they must be approved in order to be displayed. Register yourself to get help or to help others faster.
This FAQ / FORUM does not replace the project mailing list. Join it if you want to get the best possible support from other Siteseed users and hackers.