ajturner / geopress Goto Github PK
View Code? Open in Web Editor NEWMapping and location plugin for WordPress
Home Page: http://georss.org/geopress
Mapping and location plugin for WordPress
Home Page: http://georss.org/geopress
=== Plugin Name === Contributors: ajturner Tags: geo, mapping, maps, georss, kml, microformats, mapstraction, google, yahoo, microsoft, openstreetmap, map24, multimap, mapquest, freeearth, spinnyglobe, neogeography Requires at least: 2.0.0 Tested up to: 2.8 Stable tag: /trunk/ Add maps to your posts or pages, embed Microformat Geo or Adr, and output GeoRSS and KML. == Description == GeoPress adds geographic tagging of your posts and pages. You can enter an address, points on a map, or enter latitude & longitude using the post interface. You can also include the post location within the body itself to make it easy to geotag using emailed posts and desktop clients. Maps can be Google, Microsoft, OpenStreetMap, 3D globe, or any major mapping provider by using the Mapstraction mapping library. Makes your feeds GeoRSS compatible, and also adds KML for viewing in Google Earth. User forums available at: http://getsatisfaction.com/mapufacture/products/mapufacture_geopress Most information at: http://georss.org/geopress == Installation == 1. Unzip the geopress folder in the zip file to your wordpress plugins directory (wp-content/plugins). 2. Activate the plugin from your admin panel. 3. Register and add your Google or Yahoo Keys in the Options panel 4. Optionally, add http://mapufacture.com/ping/api to your "Update Services" under "Options" -> "Writing" 5. Write a post, and enter the location name, address, [latitude, longitude], or use the map for the point you want to store with the post. == Frequently Asked Questions == = How do i make my RSS feed publish lat/long? = Make sure "Enable GeoRSS tags in feeds" is checked in the GeoPress options. Everything else is added for you automatically. = How do i insert a map into my content? = A: First enter in a location for your post. After that, you have a couple of options. - You can change the "Add Maps:" setting in the GeoPress admin panel to automatically show maps on any page, or just single view pages - You can use one of the template functions like geopress_post_map to put the map where you want. - Lastly, you can insert the text "INSERT_MAP" (without the quotes) where you want the image tag for the map included within your post text while editing the post. A map centered at the post's location & with a marker showing the location will appear. == Template Functions Available == geopress_map(height, width, locations, unique_id, loop_locations, zoom_level) : heigth and width set the size of the map in pixels. 'locations' is the maximum number of locations to show (-1 shows all). 'unique_id' should be true. 'loop_locations' should be true to just show the markers for the current page (for a category, or search result map), or false to show all locations from your blog. 'zoom_level' for the map zoom level of the map. Default zooms to fit all markers, 1 is the whole Earth, and 17 is zoomed all the way to street level. geopress_post_map(height, width, controls): the_lat_rss() : prints out <geo:lat>latitude</geo:lat> the_lat() : returns raw latitude the_lat_rss() : prints out <geo:long>longitude</geo:long> the_lon() : returns raw longitude the_addr_rss(): prints out <ymaps:Address>Address</ymaps:Address> the_addr() : return raw address ymap_post_url(): returns a link to maps (flash based) page centered at the location for the post ymap_blog_url(type): returns a link to maps (old v1) page overlaying the locations of the blog entries. This assumes that you have enabled your rss feed with lat/long. the type can be 'rss2_url' for rss2 feed, 'rss_url' for rss 0.92 feed.
http://georss.org seems to redirect to a attack page. You probably shouldn't link to the domain.
The class file in WordPress core says that Snoopy is deprecated as of 3.0
Hi Andrew - Glad if you guys are still working on Geopress? I am running 2.5 beta smoothly on WP3.21 however I have some feature suggestions - 1. include openlayers.js w plugin (local file) - it takes "forever" to dl it from openlayers.org source. I changed geopress.php to load it locally and it works fine, or as good as it gets since openlayers.js is 958kb :( 2. get geopress, openlayers and mapstraction javascripts out of the header and into the footer. the geopress code looks like it is old school and doesnt take advantage of wp_enqueue functionality - thx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.