WordPress.org

Ready to get started?Download WordPress

Forums

Diff for a Wp 2.0 compatible plugin - Feedwordpress (19 posts)

  1. Beer
    Member
    Posted 8 years ago #

    Well, i'm not sure how much of a fix this is but it works for me. At least, I don't get the errors anymore.

    The file you need to edit is
    wordpress/wp-content/plugins/feedwordpress.php


    2364,2375c2364
    < TRIM(LCASE(user_firstname)) = TRIM(LCASE('$author')) OR
    < TRIM(LCASE(user_nickname)) = TRIM(LCASE('$author')) OR
    < TRIM(LCASE(user_nicename)) = TRIM(LCASE('$nice_author')) OR
    < TRIM(LCASE(user_description)) = TRIM(LCASE('$author')) OR
    < (
    < LOWER(user_description)
    < RLIKE CONCAT(
    < '(^|\n)a.k.a.( |\t)*:?( |\t)*',
    < LCASE('$reg_author'),
    < '( |\t|\r)*(\n|$)'
    < )
    < )
    ---
    > TRIM(LCASE(user_nicename)) = TRIM(LCASE('$nice_author'))
    2385,2386d2373
    < user_firstname='$author',
    < user_nickname='$author',
    2388d2374
    < user_description='$author',

  2. Beer
    Member
    Posted 8 years ago #

    Above didn't look too readable here, so I've pasted the whole file at Pastebin.

    http://paste.uni.cc/8489

    There is a download link at the end.

  3. TacoBell
    Member
    Posted 8 years ago #

    Hey Beer, I've been looking high and low for an update to this for 2.0. Your post at the uni.cc link above is cutoff after line 1637. Same with the .txt download.

    Any chance of another download opportunity for the entire script/text?

  4. Beer
    Member
    Posted 8 years ago #

    Sorry. I guess it was too long. I am now only showing the function that needs the update.

    New link below, find the function and replace it with this one.

    http://paste.uni.cc/8492

  5. TacoBell
    Member
    Posted 8 years ago #

    Thanks Beer, will give it a go!

  6. TacoBell
    Member
    Posted 8 years ago #

    Hey Beer, you are "the man!" I'm new to wordpress and the feedwordpress docs are overwhelming, but after a little time and your updated code for feedwordpress to work with WordPress 2.0 above, it's working like a charm!

    My first feed is coming in perfectly and about to add 2-3 more feeds for my first "auto-blog!" Would definitely buy you a beer for this fix, many thanks!

  7. ciaron
    Member
    Posted 8 years ago #

    is anyone else having problems with feedwordpress not copying across the categories from the parent feed, with or without this fix?

  8. larsborg
    Member
    Posted 8 years ago #

    "is anyone else having problems with feedwordpress not copying across the categories from the parent feed, with or without this fix?"

    I cant seem to get it to work with categories either.

  9. digifreax
    Member
    Posted 8 years ago #

    I made a archive of the plugin with Beer's fix:
    http://giantupload.com/?id=27328177

  10. bwp58
    Member
    Posted 8 years ago #

    Hi Beer

    Was hoping for a steer in the right direction. My feed wordpress script is working - finds feed and pulls in details ok.

    But my update-feeds gives a 404 error whenever I run it. Have upgraded to WP 2.01. Installed the same configuration on two different hosts exactly the same problem.

    Did you make any mods to update-feeds to get it going ?

    Thanks
    Brian

  11. paulproteus
    Member
    Posted 8 years ago #

    http://paulproteus.acm.jhu.edu/pub/feedwordpress-0.97-with-2.0-compat-fix-from-beer.tar.gz has a complete archive of the fixed FeedWordPress that should work with WordPress 2.0.

  12. bwp58
    Member
    Posted 8 years ago #

    Paul

    Thank-you, Thank-you, Thank You

    You've made an old man very happy

    (I should get out more !) :-)

    Very Best Regards
    Brian Pratt

  13. mlepisto
    Member
    Posted 8 years ago #

    paulproteus:

    First, thanks for posting that file!

    I'm wondering though, what is the optional folder for the rss-functions.php file? Do you know what the changes to that file are?

    Thanks,
    Mika

  14. ciaron
    Member
    Posted 8 years ago #

    right, can anyone get categories to pull through? still not working with Bear's fix and wp 2.0.1 for me.

    -ciaron

  15. cranker
    Member
    Posted 8 years ago #

    Feedwordpress is not pulling from subdomain on the same site.

    We have two installs of wordpress, one on a subdomain and one on the main domain. We want to feed the main domain install, but it won’t work.

    We need to pull from subdomain blog at http://subdomain.domain.com to http://domain.com

    Feedwordpress works fine pulling the same feeds to other domains.

    Any know issues or reasons?

  16. davidchait
    Member
    Posted 8 years ago #

    I don't know if this is your issue, but I seem to recall certain hosting companies having problems with php scripts on a domain accessing that domain, or subdomains, or other domains on the host/server... just fyi.

    -d

  17. cranker
    Member
    Posted 8 years ago #

    This sounds like it could be a start. Any ideas about which companies or any potential workarounds.

  18. cranker
    Member
    Posted 8 years ago #

    If anyone is interested, after days of working on this, I think the easiest solution for anyone experiencing this problem is to register your wordpress feed that is on a subdomain with feedburner and then point feedwordpress to the feedburner link.

    The root of the problem seemed to stem with apache rewrites, wordpress and feedwordpress. It was pointless to work it all out at the lower level when there was a quick fix anyway.

  19. wordpressmark
    Member
    Posted 8 years ago #

    Hello Everyone,

    I have read through all of this and I am delighted to find all the help.

    I have two questions:

    1.
    I want to run a cron job in order to update my feeds. What command shold I type into my cron job for this?

    2.
    Where can I go to get feeds? I have never used an agrigator site before.

    I want to pull articles that are all related to employment issues.

    Thank you,

    Mark

Topic Closed

This topic has been closed to new replies.

About this Topic