rss feeds for events, top rated
- The Spindoctors
- Posts: 1767
- Joined: 08 October 03 8:00 pm
- Location: Sydney
- Contact:
rss feeds for events, top rated
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?
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?
- CraigRat
- 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
Can do.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
I'll think about this one.Spindoc Bob wrote:Other requests would be:
http://geocaching.com.au/caches/available/au/nsw.rss without events
What do you want with this? Top 10? Top 50? Only caches with an average score of x ?Spindoc Bob wrote:Is it possible to get top ranked?
- CraigRat
- 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
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
- The Spindoctors
- Posts: 1767
- Joined: 08 October 03 8:00 pm
- Location: Sydney
- Contact:
Re: rss feeds for events, top rated
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.
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.
- caughtatwork
- Posts: 17017
- Joined: 17 May 04 12:11 pm
- Location: Melbourne
- Contact:
Re: rss feeds for events, top rated
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.
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.
- The Spindoctors
- Posts: 1767
- Joined: 08 October 03 8:00 pm
- Location: Sydney
- Contact:
Re: rss feeds for events, top rated
Too easy - feed://geocaching.com.au/my/query/rss/2509
- The Spindoctors
- Posts: 1767
- Joined: 08 October 03 8:00 pm
- Location: Sydney
- Contact:
Re: rss feeds for events, top rated
Two years later. Could I please have a feed - or a pointer to a feed - that shows the top finders of geocaches in NSW?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
- caughtatwork
- Posts: 17017
- Joined: 17 May 04 12:11 pm
- Location: Melbourne
- Contact:
Re: rss feeds for events, top rated
Now that's a tricky one.The Spindoctors wrote:Two years later. Could I please have a feed - or a pointer to a feed - that shows the top finders of geocaches in NSW?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
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)?
- The Spindoctors
- Posts: 1767
- Joined: 08 October 03 8:00 pm
- Location: Sydney
- Contact:
Re: rss feeds for events, top rated
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).
Maybe I make someone manually update it each week (it was their idea).