var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
how to create an RSS feed from a PHP URL?
I am not too technical and would like to know if you could help me working out how to create an RSS feed from a PHP link. My link looks like:
I only want to show what is inside this file.
Try something like this:
print " <?xml version =\ "1.0\" encoding=\"utf-8\" ?" . ">\n<rss version=\"0.91\">\n<channel>\n<title>" . $SITE_NAME . "</title>" ; print "LINKS_CONTENT" ;
Last edited by Hosting24; 09-08-2009 at
Actually there is a problem on my link,I only want to show parts of this page, do you know a free rss generator where I can set "start" and "end" items? so the rss code will only read between these lines.
I'm afraid that standard RSS generators will not be able to handle the job completely if your site content is dynamic + you want to add some restrictions, etc. At least I don't know any tool which could do it for you.
Writing your own code should be more effective and faster.
I would like to ask you one thing,
i do not really understand the link you posted above,where do I put my URL?
And also, do you know a piece of code that would let me only show 1 part of the site between 2 tags.
If it is too complicated or too long for you to show me an example, don't worry I will try to buy a software,,,,even if I don't feel like buying this for one feed :-)
You should change "LINKS_CONTENT" with your links. Properly formatted links should look like this one:
< item >< title > LINK_TITLE </ title >< link > LINK_URL </ link >< description > LINK_DESCRIPTION </ description >< pubDate > PAGE_CREATON / MODIFICATION_DATE </ pubDate ></ item >
thanks so much, I get it,
Any idea how to set "start" and "end" items? so the script only show part of the page?
If your site uses MySQL, then you can simply use LIMIT parameter in MySQL query
No problems. I got you get a better understanding how it works (I remember when I was just another newbie myself)
By build-a-host in forum Web Design and Content
Last Post: 07-24-2008, 09:40 AM
By D3m0n in forum Design Requests
Last Post: 04-30-2008, 11:31 AM
By leo1977 in forum Other Offers & Requests
Last Post: 07-24-2006, 07:16 PM
By websiteideas in forum WHT Announcements, Feedback and Questions
Last Post: 05-24-2006, 03:23 PM
By AdWatcher-Boris in forum Web Design and Content
Last Post: 08-02-2004, 01:58 AM