RSS for a website?

Rss is very effective for increasing more traffic, here you can get all information about rss creation 2createawebsite.com/traffic/create-rss-feeds.html
 
What are you using to design your website/blog?

Many WYSIWYG site builders have a built in RSS feed blogging tool
 
I'm assuming that u are using php, thats my rss script

Code:
<?phpinclude("system/dbconnect.php");
header('Content-Type: text/xml');
echo '<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Your Site title</title>
<description>Description Here</description>
<link>yoururl()com/</link>';
$query = mysql_query("SELECT * FROM articles ORDER BY id DESC LIMIT 15") or die(mysql_error());
while ($row = mysql_fetch_array($query)){
      
    echo '
       <item>
          <title>'.$row[title].'</title>
          <description><=!=[=C=D=A=T=A=[
          '.$row[text].'
          ]=]=></description>
          <link>article link</link>
          <pubDate>'.$row[date].' GMT</pubDate>
      </item>';
}
echo '</channel>
</rss>';
?>

hope it helps ;) good luck. If any help you need pm me
 
Last edited:
Back
Top