rss feeds for events, top rated

Discussion about the Geocaching Australia web site
Post Reply
User avatar
The Spindoctors
Posts: 1767
Joined: 08 October 03 8:00 pm
Location: Sydney
Contact:

rss feeds for events, top rated

Post by The Spindoctors » 12 June 10 12:02 am

Is it possible to create an rss feed for events in each state and for Australia.
For example, http://geocaching.com.au/caches/events/au/nsw.rss

Other requests would be:
http://geocaching.com.au/caches/available/au/nsw.rss without events

Finally, while there is a list of recommended caches:
http://geocaching.com.au/caches/recommended/au/nsw.rss

Is it possible to get top ranked?

User avatar
CraigRat
850 or more found!!!
850 or more found!!!
Posts: 7015
Joined: 23 August 04 3:17 pm
Twitter: CraigRat
Facebook: http://facebook.com/CraigRat
Location: Launceston, TAS
Contact:

Re: rss feeds for events, top rated

Post by CraigRat » 12 June 10 8:13 am

Spindoc Bob wrote:Is it possible to create an rss feed for events in each state and for Australia.
For example, http://geocaching.com.au/caches/events/au/nsw.rss
Can do.
Spindoc Bob wrote:Other requests would be:
http://geocaching.com.au/caches/available/au/nsw.rss without events
I'll think about this one.
Spindoc Bob wrote:Is it possible to get top ranked?
What do you want with this? Top 10? Top 50? Only caches with an average score of x ?

User avatar
CraigRat
850 or more found!!!
850 or more found!!!
Posts: 7015
Joined: 23 August 04 3:17 pm
Twitter: CraigRat
Facebook: http://facebook.com/CraigRat
Location: Launceston, TAS
Contact:

Re: rss feeds for events, top rated

Post by CraigRat » 12 June 10 8:18 am

Oh, and if this is a feed for a website for instance, we could just spit you out a custom XML file with all the above, don't be afraid to ask :-)

User avatar
The Spindoctors
Posts: 1767
Joined: 08 October 03 8:00 pm
Location: Sydney
Contact:

Re: rss feeds for events, top rated

Post by The Spindoctors » 12 June 10 3:12 pm

It certainly would be ;) I just need to think about how and where it would appear.

I was thinking the Geocaching events (for the state), could appear on home page in a module (using Joomla) using the xml/rss feed.

Another page, similar to the dashboard on this site would display events, recently published caches, top rated, etc - just for the state.

Regarding a ratings feed: I was thinking along the lines of the Top 10 based on the average score. I assume that even though it is displayed on a cache listing page as an integer, the values are stored as decimals (i.e. 5 thumbs up, but the value is 4.78). Of course such a list should only caches that have a minimum X number of cache ratings.

User avatar
caughtatwork
Posts: 17017
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Re: rss feeds for events, top rated

Post by caughtatwork » 12 June 10 6:41 pm

You can get some of this yourself via the my query functionality. Just make your query public for your site to grab it.

http://geocaching.com.au/my/query/rss/2370 as an example of the 10th Anniversary caches as an RSS feed.

You could set up an events query for your events and get them the same way.

This means we don't have to write custom code.

User avatar
The Spindoctors
Posts: 1767
Joined: 08 October 03 8:00 pm
Location: Sydney
Contact:

Re: rss feeds for events, top rated

Post by The Spindoctors » 12 June 10 7:29 pm

Too easy - feed://geocaching.com.au/my/query/rss/2509

User avatar
The Spindoctors
Posts: 1767
Joined: 08 October 03 8:00 pm
Location: Sydney
Contact:

Re: rss feeds for events, top rated

Post by The Spindoctors » 02 July 12 11:53 pm

CraigRat wrote:Oh, and if this is a feed for a website for instance, we could just spit you out a custom XML file with all the above, don't be afraid to ask :-)
Two years later. Could I please have a feed - or a pointer to a feed - that shows the top finders of geocaches in NSW?

User avatar
caughtatwork
Posts: 17017
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Re: rss feeds for events, top rated

Post by caughtatwork » 03 July 12 12:01 am

The Spindoctors wrote:
CraigRat wrote:Oh, and if this is a feed for a website for instance, we could just spit you out a custom XML file with all the above, don't be afraid to ask :-)
Two years later. Could I please have a feed - or a pointer to a feed - that shows the top finders of geocaches in NSW?
Now that's a tricky one.

The database is rather large so a frequent call to an xml feed will kill our server as we need to call everything up and work out who's found what in what state.

We do have this http://geocaching.com.au/stats/caches/a ... w/?&y=2012 which you can get via xml http://geocaching.com.au/stats/caches/a ... ml?&y=2012

But if you call it frequently we'll kill you. If you (say) called it once a day and then cached the result at your end that would be better. Do you want everything ... ever, or are you looking at year (like this xml does)?

User avatar
The Spindoctors
Posts: 1767
Joined: 08 October 03 8:00 pm
Location: Sydney
Contact:

Re: rss feeds for events, top rated

Post by The Spindoctors » 03 July 12 12:11 am

I see what you mean. Takes long enough just to do one query. Obviously the best way to go about it is to grab a copy once a day/week and save it on our site for display. I need to get my head around it a little more, as I'd need to create a style sheet to display the xml nicely.

Maybe I make someone manually update it each week (it was their idea).

Post Reply