RSS news links on my website??
Hello everyone. First poster here lol. I wanted to put RSS news feeds from google and yahoo on various topics to keep my page fresh and reduce my editing time. Are there any software's out there that can generate the code for you or even a website which can produce the code for you.
I have found many free scripts which have done the job for me but the only problem is I can never get the formatting the way I want it. They also dont explain which variables I am able to edit.
Also an adfree script or software would be nice becuase having an extra link or ad makes my site look like an Ad site.
Thank you
Andyem
02bunced posted this at 06:05 — 25th September 2006.
He has: 412 posts
Joined: May 2005
How are you currently putting news stories on your page? Is it from a MySQL database or are you editing them manually?
andyem posted this at 14:51 — 25th September 2006.
They have: 3 posts
Joined: Sep 2006
I am currently using javascript but I have read here that google doesnt spider javascript and only php. Is it true?
02bunced posted this at 15:55 — 25th September 2006.
He has: 412 posts
Joined: May 2005
The difference between PHP and JavaScript is the first is rendered server side, ie before it reaches the browser or google or whatever. This means that the code is stripped from the HTML (at the most basic level) before it reaches the browser, resulting in what is effectively a plain HTML document. On the other hand, Javascript is rendered by the browser and so stays in the code. Therefore, logic says having more Javascript code means a more bloated document and more trash for google to trawl through to get to the useful information. You can solve this partially by putting the Javascript in an external file and then linking it in. The better way to solve it IMO is to decide whether it is something you need to use Javascript for or if PHP is better. Best tool for the job type thing.
If you decide you would still like to use Javascript, that's cool. Try Googling for "RSS reader javascript" or possibly looking at http://www.the-new-world.com/detail/30158/ (there may be better ones for your needs though)
Hope this helps!
David
andyem posted this at 15:58 — 25th September 2006.
They have: 3 posts
Joined: Sep 2006
I actually want to use PHP and I do have a running PHP script feeding my webpage but am having trouble with getting a style to my table. I want the entire webpage not to have a style sheet but I want just the table itself containing the feeds to have a style? Any suggestions?
02bunced posted this at 17:18 — 25th September 2006.
He has: 412 posts
Joined: May 2005
My suggestion would be to modify the PHP script to style inline (ie use the style="propertieshere" in each tag)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.