Version: 2008
  • On TechRepublic: 10 lame phrases to cut from your resume
Advanced Search
advertisement
advertisement

Forum display:

Web design & hosting: RSS questions

by lightningboy7 - 9/3/09 11:38 AM
advertisement
Post 1 of 6

RSS questions

by lightningboy7 - 9/3/09 11:38 AM

I have decided to create a RSS feed for my website. Every month, I want the feed to update with the latest PDF file in the feed. Note: The site is hosted on a UNIX based server.

1. How do I automate the RSS feed to check in a certain folder(s) and if there is a new PDF, add it to the feed?

2. After the PDF has been added to the RSS feed, I would like the contents of the PDF to be displayed just like a blog post would be inserted into an RSS feed.

Post 2 of 6

automation is done by submittion, not file transfer

by Maarek Stele - 9/4/09 11:46 AM In reply to: RSS questions by lightningboy7

Put it this way, in order to check for the PDF, someone would need to initiate the check, so instead of putting the file directly in the directory, use a script to put the file there. You can also add to the script to read the file and information and post it in an RSS feed. There are OpenSource feeds out there (WordPres, etc). Your best option is PHP, since there are prebuild functions in the code that read PDF files.

Post 3 of 6

Great

by lightningboy7 - 9/4/09 1:56 PM In reply to: automation is done by submittion, not file transfer by Maarek Stele

OK but how is that done? I have experience with HTML but I have never written a script before. Could you link me to some instructions on how to do that with PHP?

Post 4 of 6

PHP Turtorial

by Maarek Stele - 9/4/09 5:05 PM In reply to: Great by lightningboy7

http://www.w3schools.com would be a good place to start learning. Another option would be to downlooad a PHP book.

Post 5 of 6

OK

by lightningboy7 - 9/5/09 7:45 AM In reply to: PHP Turtorial by Maarek Stele

I already looked at W3 schools and they just have the basics of creating an RSS feed. I will look around to find something on PHP.

Post 6 of 6

feedburner or strip from WordPress

by Maarek Stele - 9/8/09 6:18 AM In reply to: OK by lightningboy7

WordPress has an RSS script. You can strip the php files from there that build the xml file and utilize that for the PDFs. Or you can use FeedBurner and see if they have something that can accommodate you.

Forum legend:
Locked Locked thread
Moderator Moderator
CNET staff CNET staff
Samsung staff Samsung staff
Norton Authorized Support team Norton Authorized Support team
AVG staff AVG staff
Windows Outreach team Windows Outreach team
Dell staff Dell staff
Intel staff Intel staff
Powered by Jive Software