Go Down

Topic: [SOLVED] Where do I go to get specific feeds, minus all the foreign parts? (Read 4449 times) previous topic - next topic

u0421793

Jan 26, 2011, 10:18 am Last Edit: Jan 26, 2011, 12:34 pm by David Cuartielles Reason: 1
When I paste the url for any of the forum sub-things (such as "Using Arduino"; "Topics"; "Development", etc.) into my Google Reader "Add a subscription" button place, it seems to give me the entire forum in one take, most of this is in foreign languages which are no use to me as I'm British.

What do I do to get just the feeds for each separate sub-thing in the forum (such as "Using Arduino"; "Topics"; "Development", etc.), so that I can exclude other sub-things that aren't wanted?

David Cuartielles

I just commented this in this other topic:

http://arduino.cc/forum/index.php/topic,49885.0.html

Until we implement the more user-friendly RSS feed buttons all over the place, if you want to get the feed from a single category, you could do something like this:

http://arduino.cc/forum/index.php?action=.xml;sa=recent;category=2;limit=10

That one will list the last 10 messages in the category "2", which is "Using Arduino". The number corresponding to each category can be obtained by looking at the URL for each link on the main page. For example, "Using Arduino" has the URL:

http://arduino.cc/forum/index.php?action=collapse;c=2;sa=expand;sesc=1ef75e056a1d90044030c95d83d17d1c#2

where "c=2" is the category.

We have the implementation of RSS icons pretty high in our category list, in the meanwhile, feel free to use this trick with your reader.

/d

mowcius


u0421793

That's interesting. The "International" category is 6 so I should just be able to use the url

http://arduino.cc/forum/index.php?action=.xml;sa=recent;category=1,2,3,4,5;limit=10

However, Google Reader isn't having any of it. It doesn't like any the key-value pairs passed to the php app. For example, if I give it:

http://arduino.cc/forum/index.php?action=.xml;sa=recent;category=2;limit=10
it doesn't accept it.

Nor:
http://arduino.cc/forum/index.php?action=.xml;sa=recent;limit=10

Nor
http://arduino.cc/forum/index.php?action=.xml

But it does accept:
http://arduino.cc/forum/index.php

But then I'm potentially back where I started.

Would it be easier just to tell the rest of the world to only speak English? I recall there was an initiative to do precisely that a few hundred years ago, by people I'm not related to (or if I am, they spent all the money before I was born).

David Cuartielles

mowcius:
First I think we need to change terminology, since the new forum has a different paradigm of use.


  • A Category is a group of Boards.

  • A Board contains Topics

  • A Topic is the equivalent to a post



So, when you talk about Threads, you refer to a Board or to a Topic?

For the full explanation of what you can do with SMF regarding RSS, please read:

http://www.simplemachines.org/community/index.php?topic=25009.0


David Cuartielles

Ian:

I am sorry to say but the most spoken (western) language in the world is Spanish, I wonder how good you are in that, since you are suggesting we should all write in it ;-)

Letting the jokes aside, Google Reader needs to get the feed with the right header. The way to make this is by adding a "type=atom" at the end of your feed, like:

http://arduino.cc/forum/index.php?sa=recent;category=1,2,3,4,5;limit=10;action=.xml;type=atom

that will make it.

/d

u0421793

Also, on mowcius' point, there's the distinction between two cases in feed reading:

• Do I only want to see new topics posted (ie, the original posting as it stands now, with perhaps a few immediate replies that have occurred by that time)
or
• Do I want to see every new post that occurs, not distinguishing between newly originated posts, and their replies.

u0421793

Ah, thanks for the atom url.

Except that it doesn't do the job - still letting international posts in. I don't know why either. Oh well.

Now, where did I bookmark website on learning Chinese?

David Cuartielles


Also, on mowcius' point, there's the distinction between two cases in feed reading:

• Do I only want to see new topics posted (ie, the original posting as it stands now, with perhaps a few immediate replies that have occurred by that time)
or
• Do I want to see every new post that occurs, not distinguishing between newly originated posts, and their replies.


Ok, so the functionality you guys are missing is the one in the first point, am I wrong?

u0421793

This might be of interest:
http://www.simplemachines.org/community/index.php?topic=25009.0
(it'll take all day to read, though, it's long!).

I think that point is to do with key value pair of "sa=news", at a guess.

My point was not that, but I'm interested in it. My point was just getting a feed in English (and maybe I'll let some american in too).

David Cuartielles

Ian:

but when you make the call with c=1,2,3,4,5 are you still getting international messages? I have tried it out myself and it comes out right every time.


u0421793

Yes.

For example, with the given url
http://arduino.cc/forum/index.php?sa=recent;category=1,2,3,4,5;limit=10;action=.xml;type=atom
a message beginning:
Quote
Re: Le nouveau forum
by SamoLaw
En ce qui concerne

was included.

David Cuartielles

I see,

this might eventually be a bug in SMF's core. We will have to look into it, I just add it to my to-do list.

/d

u0421793


David Cuartielles

I tried with boards and it worked nicely, but then you need to add a lot of boards to your list

Go Up