Author Topic: RSS Filters and Descriptions  (Read 3919 times)

Offline coreying

  • Contributor
  • ***
  • Posts: 15
RSS Filters and Descriptions
« on: May 25, 2012, 11:24:32 am »
Hey Guys. I've been using RSS filters in Alt.Binz for a few years with a great % of success.
However, sometimes other posters upload duplicate material and something will get downloaded a 2nd time.

Is there anyway to get the RSS filters to also look at the descriptions?
That way you could also filter on things like the "Poster" and "Group", instead of just "Name".

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: RSS Filters and Descriptions
« Reply #1 on: May 25, 2012, 12:36:22 pm »
This has been requested before elsewhere, but I'll +1 it here :)

Ideally you'd want a mechanism that could filter against any item field for maximum flexibility, even the namespaced ones (these often contain valuable data outside the RSS spec). It would also be handy to be able to view all of the 'raw' fields per item in a separate popup.

Say in the filters, prepend with e.g.:

Code: [Select]

@description *foo* | A
@ns:extra *bar* | A

@ns:attr:name:value *moo* | A


Or even just using Xpath notation:

Code: [Select]

/description *foo* | A
/ns:extra *bar* | A

/ns:attr[@name='value'] *moo* | A

« Last Edit: May 25, 2012, 12:56:05 pm by Hecks »

Offline coreying

  • Contributor
  • ***
  • Posts: 15
Re: RSS Filters and Descriptions
« Reply #2 on: May 25, 2012, 02:44:51 pm »
Yeah, something like that would be great!

Offline coreying

  • Contributor
  • ***
  • Posts: 15
Re: RSS Filters and Descriptions
« Reply #3 on: May 31, 2012, 01:30:57 pm »
Hecks, would you be able to move this thread to the Requests section?

I searched through the existing threads there but couldn't find where this had been requested before. So it'd be good to have this in the correct place.

Offline icecube

  • Contributor
  • ***
  • Posts: 29
Re: RSS Filters and Descriptions
« Reply #4 on: May 31, 2012, 11:08:33 pm »
Regex would be awesome too. But it would have to be a feature that can be turned off to go to normal mode since not everyone is familiar or comfortable with regular expressions.

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: RSS Filters and Descriptions
« Reply #5 on: May 31, 2012, 11:47:28 pm »
Moved. :)  Regex would also be great I agree, just needs a switch e.g:

Code: [Select]

/r /^foo\.[1-9]+$/i | A

r"/^foo\.[1-9]+$/i" | A

r(/^foo\.[1-9]+$/i) | A


Whatevs. :)
« Last Edit: May 31, 2012, 11:51:39 pm by Hecks »

Offline coreying

  • Contributor
  • ***
  • Posts: 15
Re: RSS Filters and Descriptions
« Reply #6 on: June 01, 2012, 12:44:49 am »
I +100 to the regex request!

Thanks for moving the thread Hecks.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4050
Re: RSS Filters and Descriptions
« Reply #7 on: June 15, 2012, 11:24:24 am »
This has been requested before elsewhere, but I'll +1 it here :)

Ideally you'd want a mechanism that could filter against any item field for maximum flexibility, even the namespaced ones (these often contain valuable data outside the RSS spec). It would also be handy to be able to view all of the 'raw' fields per item in a separate popup.

Say in the filters, prepend with e.g.:

Code: [Select]

@description *foo* | A
@ns:extra *bar* | A

@ns:attr:name:value *moo* | A


Or even just using Xpath notation:

Code: [Select]

/description *foo* | A
/ns:extra *bar* | A

/ns:attr[@name='value'] *moo* | A

Can I get example of such feed?

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: RSS Filters and Descriptions
« Reply #8 on: June 15, 2012, 09:47:07 pm »
Any newznab site like nzbs.org/rss has stuff like:

Code: [Select]

<rss version="2.0" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" >

....

<newznab:attr name="category" value="5000" />
<newznab:attr name="poster" value="dude@somewhere (dude)" />


Newznab API responses in RSS format also have more fields if &extended=1 is appended.

Offline coreying

  • Contributor
  • ***
  • Posts: 15
Re: RSS Filters and Descriptions
« Reply #9 on: August 23, 2012, 11:06:57 pm »
I woke up this morning to find my RSS had grabbed 8 "new" items and had downloaded several GB.
Problem is, they were reposts of stuff downloaded over the past several weeks that someone had decided to report with identical names.

Not really sure WHY this particular person feels the need to do this, but having used RSS on UseNet for a few years now, it seems to be happening more and more.

As time goes on, this feature being requested is becoming more necessary. If people keep up this trend of reposting with identical names, it could pretty much make Alt.Binz' RSS feature useless...