[Resolved] Iframe in sidebar, displaying a html converted rss feed
I have an RSS feed for a wishlist on a shopping site, and I have downloaded a PHP script to convert the RSS feed into a html file via a html template.
I sincerely hope this makes sense!
If you take a look at my site:
You will notice my ‘Thinkgeek wishlist’ at the bottom of the sidebar doesn’t display in correct formatting.
This is the line in sidebar.php:
<iframe div=”sidebar” marginwidth=”0″ marginheight=”0″ width=”190″ height=”600″ border=”0″ frameborder=”0″ style=”border:none” scrolling=”no” src=”http://tombammann.homedns.org/journal/rss/rss2html.php?XMLFILE=http://www.thinkgeek.com/xml/app/wishlist/id/81d05b9ef&TEMPLATE=http://tombammann.homedns.org/journal/rss/thinkgeek.html&MAXITEMS=10″></iframe>
and this is the template file that is being displayed in the iframe:
<LINK href=”http://tombammann.homedns.org/journal/wp-content/themes/random-image/style.css” rel=”stylesheet” type=”text/css” id=”sidebar”>
<BODY style=”background: transparent”>
- <A href=”~~~ItemLink~~~” target=”_blank”>~~~ItemTitle~~~</A>
Basically, I just want it to display like the rest of the sidebar, and in the file above (the one displayed in the iframe) I seem to have linked it to the style.css file of the theme okay, but I don’t understand how to get the correct formatting out.
i.e. the bullets “>>” and the “left” align and the fact that the iframe is slightly to the right. Also, the word of the day iframe at the top is slightly to the right as well, can anyone recommend how to adjust this as well?
I hope I’ve given more information than neccessary, to minimise wasting your time 😛
I really appreciate your help – please, sign my guestbook whilst you visit! 😀
Thanks in advance,
- The topic ‘[Resolved] Iframe in sidebar, displaying a html converted rss feed’ is closed to new replies.