adverts.ie - custom RSS feeds per county

I’ve hacked the RSS code for adverts.ie a bit so that you can now specify a county for the full RSS feed or the per category RSS feed.

To do this, first of all copy a feed RSS URL from the main www.adverts.ie page, e.g.

All Ads

or:

Motors For Sale

Then, using the ID of the county you want from the table below:

+----+-------------+
| id | description |
+----+-------------+
| 31 | Antrim      |
| 32 | Armagh      |
|  1 | Carlow      |
|  2 | Cavan       |
|  3 | Clare       |
|  4 | Cork        |
| 33 | Derry       |
|  5 | Donegal     |
| 34 | Down        |
|  6 | Dublin      |
| 35 | Fermanagh   |
|  7 | Galway      |
|  8 | Kerry       |
|  9 | Kildare     |
| 11 | Kilkenny    |
| 14 | Laois       |
| 15 | Leitrim     |
| 16 | Limerick    |
| 17 | Longford    |
| 18 | Louth       |
| 19 | Mayo        |
| 20 | Meath       |
| 21 | Monaghan    |
| 24 | Offaly      |
| 23 | Roscommon   |
| 25 | Sligo       |
| 26 | Tipperary   |
| 36 | Tyrone      |
| 27 | Waterford   |
| 28 | Westmeath   |
| 29 | Wexford     |
| 30 | Wicklow     |
+----+-------------+

add this to the end of the URL:

&location=16

with the ID of the county (I’ve used 16 for Limerick) that you want the RSS feed for.

Using the example feeds above, you would have:

All Ads from Limerick

or:

Motors For Sale in Limerick

(On the main adverts.ie sections, I’ve also added a filter by county option to the top of each category view.)

3 Responses to “adverts.ie - custom RSS feeds per county”


  1. 1 James Corbett

    John, thanks for making such fine grained feeds available. Can you also document the category IDs so I can add that as an option to my GrazrScript please?

  2. 2 dad

    hi son just browsing .dad

  1. 1 EirePreneur

Leave a Reply