Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter staypuff

    (@staypuff)

    Oh, I’m sure the changes in WordPress have made things easier for the mainstream, but for me its all about learning new tricks, which I’m happy to do.

    You’ve been a great help and now that I know where my problems are, I now have the task to try and fix it up.

    Thanks for all your help. 🙂

    Thread Starter staypuff

    (@staypuff)

    Well that actually answers my inital question, too.

    So you’re basically saying, and excuse my ignorance on the topic as I’m hardly an expert, is that you can have no HTML in your WordPress code (such as setting margins and tables, etc…). It has to be all php?

    I’ve been using WordPress for years with HTML in my index.php (I realised what I just said) and never had a problem until now.

    Life just got a little more difficult. 🙁

    Thread Starter staypuff

    (@staypuff)

    Ok, I’ve managed to clear the RSS side of things in the code. That’s fine.

    The problem is that when WordPress is asked for the wp-rss2.php file, its exporting the rss fine, and then adding my index.php HTML code afterwards, killing it in almost all RSS readers (as you’d expect).

    I’ve toggled around with the index.php (even to the point where it was empty) but it still inserts all the HTML tags.

    I’ve added the code below, but the links are in the opening post.

    # <?xml version="1.0" encoding="utf-8"?>
    # <rss version="2.0"
    # xmlns:content="http://purl.org/rss/1.0/modules/content/"
    # xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    # xmlns:dc="http://purl.org/dc/elements/1.1/"
    # xmlns:atom="http://www.w3.org/2005/Atom"
    # xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    # >
    #
    # <channel>
    # <title>Staypuff.net</title>
    # <atom:link href="http://staypuff.net/?feed=rss2" rel="self" type="application/rss+xml" />
    # <link>http://staypuff.net</link>
    # <description>The life and time of David, an Australian bloke, making his way through life in Korea</description>
    # <pubDate>Tue, 03 Mar 2009 02:26:38 +0000</pubDate>
    # <generator>http://wordpress.org/?v=2.7.1</generator>
    # <language>en</language>
    # <sy:updatePeriod>hourly</sy:updatePeriod>
    # <sy:updateFrequency>1</sy:updateFrequency>
    # <item>
    # <title>Muffins for the teachers.</title>
    # <link>http://staypuff.net/?p=2912</link>
    # <comments>http://staypuff.net/?p=2912#comments</comments>
    # <pubDate>Tue, 03 Mar 2009 01:55:23 +0000</pubDate>
    # <dc:creator>David</dc:creator>
    
    etc...
    
    #  <wfw:commentRss>http://staypuff.net/?feed=rss2&amp;p=2895</wfw:commentRss>
    # </item>
    # </channel>
    # </rss>
    
    # <body topmargin="0" leftmargin="0">
    #
    # <table border="0" width="100%" cellspacing="0" cellpadding="0" height="95%">
    #  <tr>
    #    <td width="30" bgcolor="#C0C0C0">&nbsp;</td>
    #    <td style="border: 1 solid #000000; padding: 0">
    #      <table border="0" width="100%" cellspacing="0" cellpadding="0">
    #        <tr>
    #          <td background="images/banner.jpg" height="215" align="right" valign="bottom"><div id="search">
    
    etc...
    
    </body>

    Really I don’t know why its doing this.

    Thread Starter staypuff

    (@staypuff)

    Yes… seems to be that. I’ll have a play around with a few things and see how it goes.

    I appreciate your help. I’m sure problem solving like this isn’t an easy thing.

    Thread Starter staypuff

    (@staypuff)

    I’ve disabled all plugins but still no success.

    Thread Starter staypuff

    (@staypuff)

    Hmm… I don’t touch my rss code. WordPress does everything, I merely point to it.

    The RSS seems fine, its just that WordPress also includes a version of my blog’s html in at the bottom. I’m stumped if I know why.

    Thread Starter staypuff

    (@staypuff)

    Actually, the rss side of things looks fine, so why is WordPress importing all my html into the rss feed once the rss finishes?

    Thread Starter staypuff

    (@staypuff)

    I removed the copyright signs and its displayed a whole raft of errors. The strange thing is, my rss feed only broke after updating to WordPress 2.7.1.

    Thread Starter staypuff

    (@staypuff)

    That worked beautifully.

    Thanks for the help and again, well done on an excellent plug-in.

    Thread Starter staypuff

    (@staypuff)

    Hmm.. I guess that must be in the wp-comments.php file? I’ll have a closer look at my code now that you’ve given me an area to look. Much appreciated!

    Thread Starter staypuff

    (@staypuff)

    I should note, this is not for a WordPress.org hosted site (but I am using WordPress on my host for the blog).

    Thank you in advance!

    Thread Starter staypuff

    (@staypuff)

    Cheers for the speedy reply. It did the job to a tea.

Viewing 12 replies - 1 through 12 (of 12 total)