{"id":38,"date":"2006-09-26T11:49:35","date_gmt":"2006-09-26T15:49:35","guid":{"rendered":"http:\/\/www.kralidis.ca\/blog\/2006\/09\/26\/georss-wordpress-plugin-for-the-poor-man\/"},"modified":"2006-09-26T11:49:35","modified_gmt":"2006-09-26T15:49:35","slug":"georss-wordpress-plugin-for-the-poor-man","status":"publish","type":"post","link":"https:\/\/www.kralidis.ca\/blog\/2006\/09\/26\/georss-wordpress-plugin-for-the-poor-man\/","title":{"rendered":"GeoRSS WordPress plugin for the poor man"},"content":{"rendered":"<p>It&#8217;s exciting to see <a title=\"GeoRSS\" href=\"http:\/\/www.georss.org\/\">GeoRSS<\/a> published as an official <a title=\"1.0 specification\" href=\"http:\/\/www.georss.org\/1\/\">1.0 specification<\/a> &#8212; congratulations to the GeoRSS team in putting out this useful <a title=\"RSS\" href=\"http:\/\/en.wikipedia.org\/wiki\/RSS_(file_format)\">RSS<\/a> add-on spec.<\/p>\n<p>So I&#8217;ve put together a hack of allowing for <a title=\"WordPress\" href=\"http:\/\/www.wordpress.org\/\">WordPress<\/a> users to geocode their posts, as well as publish them as GeoRSS.  This work is based on the original <a title=\"GeoPress\" href=\"http:\/\/www.dronamraju.com\/blog\/2005\/11\/geopress-wordpress-plugin-for-tagging-your-posts-with-location-info.html\">GeoPress<\/a> work.  The plugin also allows for setting what encoding of GeoRSS you want to publish (simple, gml, or w3cgeo).  It&#8217;s very simple (uses existing custom fields to define x\/y tags, and existing WordPress  hooks to extend to GeoRSS).  The main blog post page also now adds a neat little WMS-based map.<\/p>\n<p>Other work: <a title=\"Ed Parsons\" href=\"http:\/\/www.edparsons.com\/\">Ed Parsons<\/a> also developed his own <a title=\"plugin\" href=\"http:\/\/www.edparsons.com\/?p=310\">plugin<\/a>.  The GeoRSS folks also have an <a title=\"implementation\" href=\"http:\/\/www.georss.org\/trac\/trac.cgi\/wiki\/GeoPress\">implementation<\/a>.  You can download <a title=\"my GeoRSS WordPress plugin hack\" href=\"\/blog\/wp-content\/plugins\/georss\/georss-0.2.tar.gz\">my GeoRSS WordPress plugin hack<\/a> and give it a go if you wish, however I&#8217;d suggest going with GeoPress, which is what I&#8217;ll be moving towards (as soon as I get whip up a script to port my coordinates into GeoPress).<\/p>\n<link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.css\" \/>\n<!--[if lte IE 8]>\n  <link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.ie.css\" \/>\n<![endif]-->\n<script src=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.js\"><\/script>\n<style type=\"text\/css\">#map38 { width: 300px; height: 200px; }<\/style>\n\n<div id=\"map38\"><\/div>\n<script type=\"text\/javascript\">\n  var map38 = L.map('map38').setView([42.375, -71.10611], 10);\n  L.tileLayer('http:\/\/{s}.tile.osm.org\/{z}\/{x}\/{y}.png', {\n      attribution: '&copy; <a href=\"http:\/\/osm.org\/copyright\">OpenStreetMap<\/a> contributors'\n  }).addTo(map38);\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s exciting to see GeoRSS published as an official 1.0 specification &#8212; congratulations to the GeoRSS team in putting out this useful RSS add-on spec. So I&#8217;ve put together a hack of allowing for WordPress users to geocode their posts, as well as publish them as GeoRSS. This work is based on the original GeoPress [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,7,3,11],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-geospatial","category-open-source","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":0,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}