Before using the script, it should
be properly configured. This can be done in one of the following
two ways:
Method 1
– Setting all parameters manually by editing the
script code. To do this, open the feed2html.php file in any text
editor and edit the following lines:
$rss_feed="/my-mix.xml";
Replace /my-mix.xml
with the local path or the full URL
of your RSS feed.
$template="sample-template.rat";
Replace "sample-template.rat" with
the local path or the full URL of the necessary template (for
example http://www.mywebsite.com/mytemplate.rat).
Upload the script (the
“export_rss.php” and
“feed2html.php” files),
template and your RSS feed to your server.
Method 2
– Passing data as parameters of the
script.
Syntax:
http://[yourwebsite]/feed2html.php?RSSFILE=[yourrssfeed]&TEMPLATE=[yourtemplate]
The above URL should fit a single
line, with no spaces.
Replace [yourwebsite] with the
address of your website (for example, www.mysite.com).
Replace [yourrssfeed] with the
full URL of your RSS feed (for example, http://www.mysite.com/myrss.xml).
Replace [yourtemplate] with the
full URL of the template that you want to use in the script, (for
example http://www.mywebsite.com/mytemplate.rat).
ExtraLabs
Software
|