Version 1.1-alpha4()
------------------------------------------------------------------------
+ * Made "fullfeed" syndication option also support "let the client
+ decide", via $_GET['fullFeed'] = true/false. (garvinhicking)
+
* Added new configuration option to that lets you toggle whether to
comply with RFC2616 on Conditional GET. (Garvinhicking)
options
- Sort media files by all custom property fields
- Enhanced media filter for keywords
-
- TODO:
- Use entered comments in the "You choose..." picking page
- - Deleting an image shall redirect back to originating screen,
- not empty acknowledge page
-
+ TODO:
- Search/Filter for specific properties/keywords:
Search by: custom property fields. Evaluate input data from
serendipity_getImageFields(): 'date', 'intrange', 'text'
{
switch($name) {
case 'fullfeed':
- $propbag->add('type', 'boolean');
+ $radio['value'][] = 'false';
+ $radio['desc'][] = NO;
+
+ $radio['value'][] = 'true';
+ $radio['desc'][] = YES;
+
+ $radio['value'][] = 'client';
+ $radio['desc'][] = 'Client';
+
+ $propbag->add('type', 'radio');
$propbag->add('name', SYNDICATION_PLUGIN_FULLFEED);
$propbag->add('description', '');
$propbag->add('default', false);
+ $propbag->add('radio_per_row', '3');
+ $propbag->add('rado', $radio);
break;
case 'show_0.91':
}
}
$metadata['fullFeed'] = $plugin->get_config('fullfeed', false);
+ if ($metaData['fullFeed'] === 'client') {
+ if ($_GET['fullFeed'] || $serendipity['GET']['fullFeed']) {
+ $metaData['fullFeed'] = true;
+ } else {
+ $metaData['fullFeed'] = false;
+ }
+ }
if ($plugin->get_config('show_feedburner') === 'force' && !preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT'])) {
$url = 'http://feeds.feedburner.com/' . $plugin->get_config('fb_id');