Jump to content

RSS importer auto article remover


Guest gweilo8888

Recommended Posts

Posted

Hi all

I'm having a problem with RSS article import from several sites, such as Craigslist (for example). Sometimes the RSS importer is incorrectly deciding certain items are "new" and creating new forum threads for them every single time the articles are updated.

It strikes me that the workaround for this would be exceptionally simple. In the configuration of each RSS import feed, let the admin set a feed as either "append" or "replace" - and if the latter is chosen, then ALL RSS articles for that feed would be automatically removed before new articles are fetched.

Can this be added to future builds please, or can somebody suggest what code I'd need to modify to accomplish this? :)

Thanks!

Posted

Anybody from Invision care to reply on the chances of this being included? The software already has the ability to purge existing articles, so I would imagine this would be a VERY simple addition...

Posted

Are you saying you would like the option (per-feed) to remove articles before new ones are imported? :unsure: I couldn't see that being a very useful feature myself.

  • 3 weeks later...
Posted

Are you saying you would like the option (per-feed) to remove articles before new ones are imported? :unsure: I couldn't see that being a very useful feature myself.



Sorry for the slow reply, I've been on vacation.

Yes, that is exactly what I am saying - and I explained exactly why it would be useful. Some feeds - for example, those from Ebay RSS converters and sites like Craigslist - don't seem to work well with the importer, and create new threads for every item, every time they're run. Allowing the existing posts to be deleted every time new ones are scanned for would solve this problem, for folks who want to import items from elsewhere and have the threads locked on import.

Obviously it wouldn't be of use on sites where the threads get discussion, but many sites don't use the importer in that way, mine included.
  • 3 months later...
Posted

I'm still hoping for this... It can't be that hard to implement, you already have the functionality to delete all RSS articles for a particular import through the ACP, so it really should be just a matter of adding one simple option, checking whether that option is set when the feed imports, and calling the routing to clear the feed if it is set.

Could anybody from Invision comment on whether this could be added, and if not, what workaround they suggest for folks who want to import (and immediately lock) feeds from Ebay, Craigslist, etc. that currently create duplicate thread after duplicate thread?

  • 8 months later...
Posted

Over a year later, but I'm still waiting on this functionality. Can anybody give me an idea for what code I'd need to change myself, to have IPB trigger deletion of all posts from a feed before the feed is reimported?

Posted

You'd have to edit rssimport.php (action_admin folder) but to do it yourself I'd really leave that to IPS Beyond.

This particular feature likely won't make it in, as I don't believe there is any real sort of demand for it, I'm afraid.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...