silverstripe-picasaweb 

silverstripe-picasaweb Commit Details

Date:2013-05-06 22:48:43 (7 years 11 months ago)
Author:Nicola Fontana
Branch:master
Commit:bdf4891f4b97a037d8ae97b189f59dedadf01d2b
Parents: 9afd80e6825a2c90631c029278e62851faf9a5ff
Message:Added "alternate" tag

This is an URL that should be used to redirect the user to the Picasaweb
page of an element.
Changes:
Mcode/Picasaweb.php (2 diffs)

File differences

code/Picasaweb.php
166166
167167
168168
169
169170
170171
171172
......
229230
230231
231232
233
232234
233235
234236
$data = new ArrayData(array(
'self' => self::xquery($element, 'link[@rel="self"]/@href'),
'alternate' => self::xquery($element, 'link[@rel="alternate"]/@href'),
'canonical' => self::xquery($element, 'link[contains(@rel,"#canonical")]/@href'),
'photoid' => (string) $gphoto->id,
'albumid' => (string) $gphoto->albumid,
$data = new ArrayData(array(
'self' => self::xquery($element, 'link[@rel="self"]/@href'),
'alternate' => self::xquery($element, 'link[@rel="alternate"]/@href'),
'userid' => (string) $gphoto->user,
'icon' => (string) $element->icon,
'title' => (string) $element->title,

Archive Download the corresponding diff file

Branches