Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert Xml to rss
04-12-2015, 07:12 PM
Post: #1
Convert Xml to rss
I want to convert my sitemap.xml to a .rss feed. How can I do this? Is there any software or online tool to do it? Plz help I need it hardly.

confusedhy:PCSoftWorld, ProAPK4Funconfusedhy:
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
04-12-2015, 09:56 PM
Post: #2
RE: Convert Xml to rss
(04-12-2015 07:12 PM)uttam.paul69 Wrote:  I want to convert my sitemap.xml to a .rss feed. How can I do this? Is there any software or online tool to do it? Plz help I need it hardly.

your sitemap.xml is static or dynamic?
normally sitemaps have only urls. But for rss feed we need url,title,description sample format would be like this.
PHP Code:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

<channel>
  <title>W3Schools Home Page</title>
  <link>http://www.w3schools.com</link>
  <description>Free web building tutorials</description>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3schools.com/rss</link>
    <description>New RSS tutorial on W3Schools</description>
  </item>
  <item>
    <title>XML Tutorial</title>
    <link>http://www.w3schools.com/xml</link>
    <description>New XML tutorial on W3Schools</description>
  </item>
</channel>

</rss> 

http://apkdl.in Download latest version of any android apps or games for free.
http://hotwap.net watch live sex on mobile without download
Find all posts by this user
Like Post Quote this message in a reply
04-13-2015, 06:59 AM
Post: #3
RE: Convert Xml to rss
My sitemap is static

confusedhy:PCSoftWorld, ProAPK4Funconfusedhy:
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
04-13-2015, 10:49 AM (This post was last modified: 04-13-2015 10:50 AM by tn69.)
Post: #4
RE: Convert Xml to rss
i assume you want rss for your blog site http://www.uttam-soft.tk/

here is your rss
http://feeds.feedburner.com/Uttam-soft

http://apkdl.in Download latest version of any android apps or games for free.
http://hotwap.net watch live sex on mobile without download
Find all posts by this user
Like Post Quote this message in a reply
04-13-2015, 11:10 AM
Post: #5
RE: Convert Xml to rss
Hehe! big grin I know that bro. Actually I need an rss feed for my other sites which are hosted on cpanel. I have a sitemap of 20,000 urls. So, I want to make a feed of that sitemap.

confusedhy:PCSoftWorld, ProAPK4Funconfusedhy:
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
04-13-2015, 01:44 PM (This post was last modified: 04-13-2015 01:44 PM by tn69.)
Post: #6
RE: Convert Xml to rss
can you tell your sitemap url ?

http://apkdl.in Download latest version of any android apps or games for free.
http://hotwap.net watch live sex on mobile without download
Find all posts by this user
Like Post Quote this message in a reply
04-13-2015, 05:44 PM
Post: #7
RE: Convert Xml to rss
Here it is: http://apkstore.gq/sitemap.xml

confusedhy:PCSoftWorld, ProAPK4Funconfusedhy:
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
04-14-2015, 12:13 AM
Post: #8
RE: Convert Xml to rss
(04-13-2015 05:44 PM)uttam.paul69 Wrote:  Here it is: http://apkstore.gq/sitemap.xml

i think your site uses mysql database.
so you can do like this. this is a dynamic rss feed.
PHP Code:
<?php

mysql_connect
('localhost','username','password');
mysql_select_db('database');
$query=mysql_query('select title,url,description from file_table order by id desc');
while(
$row=mysql_fetch_object($query))
{
$items.='<item>
    <title>'
.$row->title.'</title>
    <link>'
.$row->url.'</link>
    <description>'
.$row->description.'</description>
  </item>'
;
}

echo 
'<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>'
.$items.'
</channel>
</rss>'
;
?>

modify this according to your site database table structure that holds file information.

http://apkdl.in Download latest version of any android apps or games for free.
http://hotwap.net watch live sex on mobile without download
Find all posts by this user
Like Post Quote this message in a reply
04-14-2015, 06:43 AM
Post: #9
RE: Convert Xml to rss
Ok thanks

confusedhy:PCSoftWorld, ProAPK4Funconfusedhy:
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)