Giter Site home page Giter Site logo

geopress's Introduction

=== 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.

geopress's People

Contributors

ajturner avatar

Stargazers

Angus H. avatar ejanalysis avatar JT5D avatar R. Richard Hobbs avatar Miguel Peixe avatar Greg Sherwin avatar Dana Bauer avatar Karl Guillotte avatar Jane Ullah avatar Mohammad Hanif avatar Gary Gale avatar Ben Ackles avatar  avatar Michael Pereira avatar  avatar Alan Gunshor avatar Le Duy Quang avatar Stef avatar Fabio Giannese (diodœ) avatar Ken Newman avatar Martin Ringehahn avatar Kate Chapman avatar Pradeep B V avatar omer yavuz avatar GeoCommons and GeoIQ avatar Mikel Maron avatar David Windham avatar  avatar

Watchers

 avatar Greg Sherwin avatar James Cloos avatar  avatar

geopress's Issues

Deprectate Snoopy

The class file in WordPress core says that Snoopy is deprecated as of 3.0

page speed issues

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.