PDA

View Full Version : RSS not showing in news reader of thunderbird


hitmoments
08-07-2006, 07:38 AM
Recently i put some Php xml code of text link ads at my photoblog http://hitesh.cybertec.co.in on index.php file
ok the ads from text link ads website is showing but the blog gives error in RSS reading any solution of having the text link ad put in such a way that the ads also show and even the RSS is error free?

Spudooli
08-07-2006, 08:39 AM
RSS is an XML format. You cannot change the format of the XML likr you have on your site.
The only way to get your ads into the feed, is to get them into the content of your post.
But even the, you can't include any javascript (like Google Adsense for example) into the feed. Feed readers do not run javascript. Besides which it'll automatically be invalid if you try to get that code in there.

hitmoments
08-07-2006, 09:03 AM
RSS is an XML format. You cannot change the format of the XML likr you have on your site.
The only way to get your ads into the feed, is to get them into the content of your post.
But even the, you can't include any javascript (like Google Adsense for example) into the feed. Feed readers do not run javascript. Besides which it'll automatically be invalid if you try to get that code in there.

I dont require the ads in the feed but my blog should read RSS feeds which gives error due to code of text link ads

Connie
08-07-2006, 09:54 AM
I think you should check the code of this ADs (whatever this is)

if PP code is disturbed by 3rdparty stuff, you should find out what there is disturbing

who made the hammer? who is the nail?

why is this photo jumping?? I do not get it ;=)

if you validate your output, you will get 43 errors!

http://validator.w3.org/check?verbose=1&uri=http%3A//hitesh.cybertec.co.in/

so as usual: the first step is to clean the HTML-code, find out what is causing that problems
if the HTML is cleaned we can discuss about other, in the moment marginal problems ;=)

after checking the source code, I am quite sure you placed some codesnippet at the complete wrong position:

<style type="text/css">
ul#links46074 { width: 100%; list-style: none; overflow: hidden; margin: 0px; padding: 0px; border: 1px solid #E9CF7F; border-spacing: 0px; background-color: #E9CF7F; }
ul#links46074 li { display: inline; float: left; clear: none; width: 25%; padding: 0px; margin: 0px; }
ul#links46074 li span { display: block; width: 100%; padding: 3px; margin: 0px; font-size: 12px; color: #000000; }
ul#links46074 li span a { font-size: 12px; color: #990000; }
</style>

<ul id="links46074">
<li><span> <a href="http://www.date.com/dating/india-delhi.htm">Delhi Dating</a> </span></li>
<li><span> <a href="http://www.ideal.com">3D Printer</a> </span></li>
</ul><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

a document should start with
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

and an empty line at the beginning! That kills a lot already

GeoS
08-07-2006, 11:10 PM
@Spudooli: You are in big mistake. It is possible to attache ADs to RSS feeds, in some situations it is possible to execute JS code at client side within feed reader and so on :P
Remember that many feed readers are based on system browsers which do many things (i.e. execude JS code).

hitmoments
09-26-2006, 01:32 PM
Thanks guys for the feedback...i sorted out the problem by using iframe tag in template..now my rss feeds are showing and all working fine at the moments...only thing is getting lots of spam on pixel post...how do u control spam on pixel post?

Connie
09-26-2006, 01:48 PM
I am sure you do not use the actual version of PP!

Please update ASAP, we worked a lot on that

GeoS
09-26-2006, 04:34 PM
Im using comment form based on JS support and hacked version of index.php and one additional file.