• Hey folks.

    I’m working on a custom RSS aggregator for a client, and everything is going swimmingly — except for one particular feed that is driving me nuts. It is a WP 1.5.0 install and every time I attempt a file_get_contents, it fails with a 500 ISE. The author can’t possibly understand my questions, so I’ve come here in search of help.

    Upon inspection of the headers through a browser, I noticed that this particular feed, out of three dozen or so wordpress feeds in the current queue, is setting a cookie.


    Response Headers - https://thewritersbuzz.com/wp-rss2.php

    Date: Sat, 27 Aug 2005 03:24:30 GMT
    Server: Apache
    Etag: "c18f6328ecec4745731818fc99ac09bc"
    X-Pingback: https://thewritersbuzz.com/xmlrpc.php
    X-Powered-By: PHP/4.3.10
    Set-Cookie: basp=33620; expires=Sat, 27-Aug-05 03:44:30 GMT; path=/
    Last-Modified: Sun, 21 Aug 2005 22:38:48 GMT
    Keep-Alive: timeout=60, max=90
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/xml; charset=utf-8

    200 OK

    I am relatively unfamiliar with the method of feed generation for WP, but I’ve been through the Codex to no avail, so I am left to suspect that upon a setcookie() failure, the output fails. Wget successfully pulls the file, but a fgc fails every time. Anyone have a clue why or what plugin/mod_rewrite shenanigans might be causing this behavior?

    Thanks in advance for any light you might shed on this derlemmer.

    ~~~~~~~~~~~~~~~~~~~
    Joshua Estell
    https://hinkybox.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Aren’t there some serious bugs with the feeds in pre-1.5….2 (I think it’s 2).

    You really should update to the latest, especially when trying to debug.

    Thread Starter jbestell

    (@jbestell)

    I am not the author, I am the guy trying to massage a 1.5 feed into compliance.

    Several features of WP rely on cookies, so it wouldn’t surprise me to find out that the feed file uses them. You might try to massage the site owner into upgrading to 1.5.2 for security reasons, as long as your massaging.

    Thread Starter jbestell

    (@jbestell)

    Yes, well, if the owner knew me from Adam, that would be an option, but I fear such an email would be equivalent to pulling up next to someone on the road and saying “Get a new car, that one sucks.” ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-rss2.php sets a cookie?’ is closed to new replies.