WordPress.org

Ready to get started?Download WordPress

Forums

external RSS feeds (35 posts)

  1. squishy
    Member
    Posted 10 years ago #

    Anyone have a hack for external RSS feeds (via a plug-in or file)?
    I'm thinking you could either:
    a) set up a daily process to pull RSS feeds from your favorite sites into local files and have WP display them
    b) have WP display the RSS feeds straight-up
    -=John

  2. Alex King
    Member
    Posted 10 years ago #

    Are you asking for an RSS aggregator?

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    i can make do with some way to use the feeds to generate content on some other pages of my site...

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    well i can certainly call the database and generate the headings in my site. but with other sites on other servers. There i need some way to parse RSS feed to generate HTML code.

  5. Alex King
    Member
    Posted 10 years ago #

    Um, I believe that is what an RSS aggregator does. :)
    You should look at some RSS aggregator scripts, those will certainly give you what you want much faster than waiting for WordPress to include this sort of functionality.

  6. otaku42
    Member
    Posted 10 years ago #

    When I ever will finish my work at the news aggregator used for one of my sites I could contribute the rss/rdf parser to WordPress. But it would be more healthy to not hold you breath on that, it could take at least until the beginning of next year... it's far at the end on my to-do-list :)
    Bye, Mike

  7. Dougal Campbell
    Member
    Posted 10 years ago #

    Maybe take a look at Magpie RSS?

  8. otaku42
    Member
    Posted 10 years ago #

    Doesn't support RSS 2.0 (Userland), as far as I could see. Although it shouldn't be too hard to implement that there.

  9. squishy
    Member
    Posted 10 years ago #

    It was Magpie that got me interested in asking if anyone had a hack for wp. I'll just use that or something like it.
    -=John

  10. ThePimpress
    Member
    Posted 10 years ago #

    zFeeder is easy.. Painless.. And very functional

  11. Laughinglizard
    Member
    Posted 10 years ago #

    Your post made me think of Jaykul's Newsfeed Parser script. Find it at http://jaykul.fragmentized.com/scripting/news_feed_parser.php and see it work at http://dinki.mine.nu/word/ I cheat and feed my two blogs RSS from each other :-P

  12. Jaykul
    Member
    Posted 10 years ago #

    Hah, now I've got other people linking to my stuff ... yay :-)
    I should really move all those scripts and apps over to my new site though ... but I guess I'll leave them there (also) for now.

  13. OperaManiac
    Member
    Posted 10 years ago #

    jaykul: ur rss aggregator breaks on my installation on addition of any new hack using my-hacks.php. am i the only 1 facing this problem?

  14. davidchait
    Member
    Posted 10 years ago #

    I'm not using my-hacks.php, but I'm certainly using a number of hacks on http://www.chait.net, including a heavily-modded version of Jaykul's great-yet-simple aggregator (kudos!).
    What problem are you running into?
    I had problems at one point with getting blocks closed properly, mostly my own fault as I overhauled the code. Took me a long time, many browsers, and a few validator services, to finally uncover (and just scanning by eye at that!) the problem lines of my code.
    =d

  15. idahocline
    Member
    Posted 10 years ago #

    .I wrote a hack for this. You can find the source on my site.
    idahocline.net
    "b2psnRSS" is what you are looking for. It is based on Magpie RSS.

  16. davidchait
    Member
    Posted 10 years ago #

    If someone wants a heavily tweaked out version of Jaykul's aggregator, let me know -- it's what is providing the four feeds on the homepage of http://www.chait.net.
    I'd have to go back and figure out everything I've changed -- though one useful enhancement was the ability to grab category entries for an item, and filter based on them (useful for a site like DealNews, which has the last-20 feed, but not a sub-feed for electronics -- so I grab last-20, and get the 4 most recent in category 'electronics'... pretty cool).
    =d

  17. BAKSHI
    Member
    Posted 10 years ago #

    idaho, i have no idea on howto install ur aggregator

  18. OperaManiac
    Member
    Posted 10 years ago #

    same here. its like magpie. can someone tell me a simpler version like the one from jaykul. 1 single file and 1 tag... as simple as that... give me a KISS version please :D.

  19. rob
    Member
    Posted 10 years ago #

    Idaho, I -think- what you have is exactly what I'm looking for...but I can't figure out how to install it.

  20. Anonymous
    Unregistered
    Posted 10 years ago #

    Just to respond to a much earlier message in the thread, Magpie has no trouble parsing the RSS feeds produced by WordPress, as they conform to the traditional title-link-description structure of RSS. Any of the examples of parsing RSS 0.9, or RSS 1.0 will work equally well with the RSS 2.0 that WP generates assuming this is a representative feed: http://wordpress.org/development/wp-rss2.php
    As for installing it, I don't have a working install of Word Press, but I imagine taking the Magpie download, moving it to the Word Press install directory (e.g. 'mv magpierss-0.5.2 ~/public_html/wordpress/magpierss') should work.

  21. rob
    Member
    Posted 10 years ago #

    I ended up going with ZFeeder and hacked it to use the CSS from WordPress. It's still got a couple of issues, but you can see it at my WP blog. You can also download it from the blog under the dowloads sidebar.

  22. davidchait
    Member
    Posted 10 years ago #

    Sushubh (and others) -
    I've posted an accessible version of my current mods to the 'jaykul parser' on my website... feel free to grab it:
    http://www.chait.net/my-plugins/xmlfeed.phps
    I added the ability to parse categories within feed items, useful for taking a large feed and extracting just the relevant categorized articles (I use that for my filtering of dealnews..). I also rewrote the caching mechanism a little bit, added file locking around the file access, and cleaned up an issue or two with length limiting.
    Enjoy. If you have any enhancements, please drop them my way. I'm maintaining a growing list of plugins (the refererLib stuff is the other one I've majorly modded, but also use the wp-hilite code, and some amazon-lookup code).
    =d

  23. Anonymous
    Unregistered
    Posted 10 years ago #

    Anybody know what happened to the idahocline.net site? I've tried to download that plugin several times, but the IP won't resolve for me. Does anyone else know a secondary source?

  24. BAKSHI
    Member
    Posted 10 years ago #

    I'm in the process of finishing it and then I will pack everything and send it back to you. It's getting better and better!

  25. BAKSHI
    Member
    Posted 10 years ago #

    I finished packaging the mod (shown at http://bakshi.us/blog/feeds )
    Download it here.
    http://bakshi.us/blog/uploads/feeds.zip
    If you got any questions post them here or email me. I'll try to fix it, but then again I don't have so much PHP/CSS knowledge so I would also like others to help if they can too.

  26. Anonymous
    Unregistered
    Posted 10 years ago #

    Sorry....I can't login to admin.php, anybody had the same problem?

  27. BAKSHI
    Member
    Posted 10 years ago #

    on the zfeed thing?

  28. PeterBlue
    Member
    Posted 10 years ago #

    yeap..... I've try to useing the original zFeeder's config.php settings, now it works!
    define("ZFURL","your URI here"); // URL to zFeeder directory installation
    define("ZFADMINUSER","your admin name here"); // admin username
    define("ZFADMINPASS","your pass here"); // crypted admin password
    I found that zFeeder is useing md5 to check the password, so I change these to......
    define("ZFURL",""); // URL to zFeeder directory installation
    define("ZFADMINUSER",""); // admin username
    define("ZFADMINPASS","d41d8cd98f00b204e9800998ecf8427e"); // crypted admin password
    then I can login to admin.php for no username & password.
    at the zFeeder1.3 readme file, there are 2 important points for unix-like base's web hosting:
    - give "write" and "execute" attributes to subdirectory: cache
    (either with your FTP client or with CHMOD 0777)
    attributes of all files in cache dir should be 0766 or 0666
    Note: 0666, 0766 and 0777 attributes are considered a security risk
    - give writeable attributes to config.php and subscriptions.opml
    at last, thanks for your great job! :)

  29. BAKSHI
    Member
    Posted 10 years ago #

    No problem. Glad to be a help. I'll update the package with a new zfeeder and docs.

  30. BAKSHI
    Member
    Posted 10 years ago #

    the zfeeder module templates have been updated to include images check http://bakshi.us/blog/feeds/ and http://bakshi.us/mobile .
    I messed around alot with the CSS code. How do you like it? Is it a cheap and clever way to add RSS aggregation and mobile log integration onto your blog?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.