Support » Themes and Templates » Iframe in sidebar, displaying a html converted rss feed

  • Resolved flammobammo



    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=”″></iframe>

    and this is the template file that is being displayed in the iframe:

    <LINK href=”” rel=”stylesheet” type=”text/css” id=”sidebar”>

    <BODY style=”background: transparent”>

    <H3 align=’left’>~~~FeedTitle~~~</H3>
    <p align=’left’>~~~BeginItemsRecord~~~

    • <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,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Well, I seem to have fixed the problem using a different RSS script.
    However, I would still be interested to see if anyone has any hints or tips on how to align my “Thinkgeek Wishlist” to be eXACTLY in line with the rest of the sidebar material 🙂

    Also another challenge for all you wizards, is to suggest an idea of how to align the “Word of the day” – this one isn’t an RSS feed, it’s via this command in the sidebar template:

    <script type=”text/javascript” src=””></script>

    I’m confused why you had to do an iframe. I did this on a page, rather than in the sidebar, but it would work the same. I used the the phpExec plugin and the RSS Fetched LinkedList plugin and pulled an rss feed from my scuttle (my own personal delicious type link manager), see example Here
    The same concept would work in a sidebar. I actually think the rss plugin has a quicktag and doesn’t need the php Exec, but since i already had it installed, I used the php call.
    As far as positioning, the iframe may be the culprit. the rss feed plugin by default creates <li>,</li> around each feed item, and I simply added the < ul > < /ul > in the page.
    I’d suggest checking it out.
    As far as the word of the day, try wrapping that in a < p > tag, that may align things better.

    Cheers miklb – the tag worked a treat, as did doing a and

      for the RSS plugin i’m using (not the same as yours). Good luck getting out of the hospitality, but by the looks of your web page, I don’t think you’ll need any luck 😛

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Iframe in sidebar, displaying a html converted rss feed’ is closed to new replies.