Changeset 188207
- Timestamp:
- 12/30/2009 04:58:10 PM (16 years ago)
- Location:
- picasa-picture-embed
- Files:
-
- 2 edited
- 7 copied
-
tags/1.1.0 (copied) (copied from picasa-picture-embed/trunk)
-
tags/1.1.0/Library (copied) (copied from picasa-picture-embed/trunk/Library)
-
tags/1.1.0/picasaweb-embed.php (copied) (copied from picasa-picture-embed/trunk/picasaweb-embed.php) (3 diffs)
-
tags/1.1.0/readme.txt (copied) (copied from picasa-picture-embed/trunk/readme.txt) (3 diffs)
-
tags/1.1.0/screenshot-1.png (copied) (copied from picasa-picture-embed/trunk/screenshot-1.png)
-
tags/1.1.0/screenshot-2.png (copied) (copied from picasa-picture-embed/trunk/screenshot-2.png)
-
tags/1.1.0/screenshot-3.png (copied) (copied from picasa-picture-embed/trunk/screenshot-3.png)
-
trunk/picasaweb-embed.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
picasa-picture-embed/tags/1.1.0/picasaweb-embed.php
r188114 r188207 3 3 * @package Picasaweb_Embed 4 4 * @author Devon Buchanan 5 * @version 1. 05 * @version 1.1 6 6 */ 7 7 /* … … 10 10 Description: A plugin that allows you to embed picasa photos with the Wordpress 2.9 embedding feature. Include the url of the photo on a line of its own or between [embed] tags and the photo will be embedded. 11 11 Author: Devon Buchanan 12 Version: 1. 012 Version: 1.1 13 13 Author URI: http://www.srcf.ucam.org/~db505/ 14 14 */ … … 48 48 // After a post is saved, invalidate the oEmbed cache 49 49 add_action( 'save_post', array(&$this, 'delete_picasaweb_caches') ); 50 wp_embed_register_handler( 'picasaweb', '|http://picasaweb\.google\.(?P<tld>[A-Za-z.]{2,5})/(?P<username>\w+?)/(?P<albumname>\w+?) #(?P<photoid>\d+)|i', array(&$this, 'handler'));50 wp_embed_register_handler( 'picasaweb', '|http://picasaweb\.google\.(?P<tld>[A-Za-z.]{2,5})/(?P<username>\w+?)/(?P<albumname>\w+?)(\?[^#]*)?#(?P<photoid>\d+)|i', array(&$this, 'handler')); 51 51 $this->picasaweb = new Zend_Gdata_Photos(); 52 52 // handler() is dependant on the array being in ascending order -
picasa-picture-embed/tags/1.1.0/readme.txt
r188114 r188207 4 4 Requires at least: 2.9 5 5 Tested up to: 2.9 6 Stable tag: 1. 0.16 Stable tag: 1.1.0 7 7 8 8 A plugin that allows you to embed picasa photos into your posts with the Wordpress 2.9 embedding feature. … … 37 37 1. Are you using Wordpress > 2.9? 38 38 2. Have you enabled auto embeds in the `Settings -> Media` page? 39 3. Have you used the right url -- only urls in the form `http://picasaweb.google.com/{user}/{album}#{photo}` are supported (e.g. `http://picasaweb.google.com/linmep/PicAutumn09#5410318127990876210`)?40 39 3. Is the image you're trying to embed visible to the public? 40 4. Have you used the right url -- only urls in the form `http://picasaweb.google.com/{user}/{album}#{photo}` are supported (e.g. `http://picasaweb.google.com/linmep/PicAutumn09#5410318127990876210`). Search URLs (e.g. `http://picasaweb.google.com/lh/view?q=leaf&psc=G&filter=1#5325823428363864770`) don't work. 41 41 42 42 If you can answer "yes" to the above the plugin may indeed be broken. … … 57 57 * Automatically chooses the largest necessary size for the photo based on the `width` and `height` attributes 58 58 59 = 1.1 = 60 * Added support for urls with queries (e.g. `http://picasaweb.google.com/missyann63/PicAutumn09?feat=featured#5409726203440714818`). Note the `?feat=featured`. 61 59 62 == Upgrade Notice == 60 63 -
picasa-picture-embed/trunk/picasaweb-embed.php
r188114 r188207 3 3 * @package Picasaweb_Embed 4 4 * @author Devon Buchanan 5 * @version 1. 05 * @version 1.1 6 6 */ 7 7 /* … … 10 10 Description: A plugin that allows you to embed picasa photos with the Wordpress 2.9 embedding feature. Include the url of the photo on a line of its own or between [embed] tags and the photo will be embedded. 11 11 Author: Devon Buchanan 12 Version: 1. 012 Version: 1.1 13 13 Author URI: http://www.srcf.ucam.org/~db505/ 14 14 */ … … 48 48 // After a post is saved, invalidate the oEmbed cache 49 49 add_action( 'save_post', array(&$this, 'delete_picasaweb_caches') ); 50 wp_embed_register_handler( 'picasaweb', '|http://picasaweb\.google\.(?P<tld>[A-Za-z.]{2,5})/(?P<username>\w+?)/(?P<albumname>\w+?) #(?P<photoid>\d+)|i', array(&$this, 'handler'));50 wp_embed_register_handler( 'picasaweb', '|http://picasaweb\.google\.(?P<tld>[A-Za-z.]{2,5})/(?P<username>\w+?)/(?P<albumname>\w+?)(\?[^#]*)?#(?P<photoid>\d+)|i', array(&$this, 'handler')); 51 51 $this->picasaweb = new Zend_Gdata_Photos(); 52 52 // handler() is dependant on the array being in ascending order -
picasa-picture-embed/trunk/readme.txt
r188114 r188207 4 4 Requires at least: 2.9 5 5 Tested up to: 2.9 6 Stable tag: 1. 0.16 Stable tag: 1.1.0 7 7 8 8 A plugin that allows you to embed picasa photos into your posts with the Wordpress 2.9 embedding feature. … … 37 37 1. Are you using Wordpress > 2.9? 38 38 2. Have you enabled auto embeds in the `Settings -> Media` page? 39 3. Have you used the right url -- only urls in the form `http://picasaweb.google.com/{user}/{album}#{photo}` are supported (e.g. `http://picasaweb.google.com/linmep/PicAutumn09#5410318127990876210`)?40 39 3. Is the image you're trying to embed visible to the public? 40 4. Have you used the right url -- only urls in the form `http://picasaweb.google.com/{user}/{album}#{photo}` are supported (e.g. `http://picasaweb.google.com/linmep/PicAutumn09#5410318127990876210`). Search URLs (e.g. `http://picasaweb.google.com/lh/view?q=leaf&psc=G&filter=1#5325823428363864770`) don't work. 41 41 42 42 If you can answer "yes" to the above the plugin may indeed be broken. … … 57 57 * Automatically chooses the largest necessary size for the photo based on the `width` and `height` attributes 58 58 59 = 1.1 = 60 * Added support for urls with queries (e.g. `http://picasaweb.google.com/missyann63/PicAutumn09?feat=featured#5409726203440714818`). Note the `?feat=featured`. 61 59 62 == Upgrade Notice == 60 63
Note: See TracChangeset
for help on using the changeset viewer.