Merge lp:~sebastian-meyer/goobi-presentation/bug800663 into lp:goobi-presentation/1.1

Proposed by Sebastian Meyer
Status: Merged
Merged at revision: 37
Proposed branch: lp:~sebastian-meyer/goobi-presentation/bug800663
Merge into: lp:goobi-presentation/1.1
Diff against target: 571 lines (+426/-3)
12 files modified
dlf/ext_autoload.php (+1/-0)
dlf/ext_localconf.php (+2/-0)
dlf/ext_tables.php (+9/-0)
dlf/locallang_db.xml (+2/-0)
dlf/plugins/collection/class.tx_dlf_collection.php (+13/-0)
dlf/plugins/collection/flexform.xml (+14/-0)
dlf/plugins/collection/locallang.xml (+6/-0)
dlf/plugins/collection/template.tmpl (+1/-1)
dlf/plugins/feeds/class.tx_dlf_feeds.php (+221/-0)
dlf/plugins/feeds/flexform.xml (+118/-0)
dlf/plugins/feeds/locallang.xml (+37/-0)
dlf/plugins/oai/template.tmpl (+2/-2)
To merge this branch: bzr merge lp:~sebastian-meyer/goobi-presentation/bug800663
Reviewer Review Type Date Requested Status
Sebastian Meyer Approve
Review via email: mp+73141@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Sebastian Meyer (sebastian-meyer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dlf/ext_autoload.php'
2--- dlf/ext_autoload.php 2011-08-19 16:25:11 +0000
3+++ dlf/ext_autoload.php 2011-08-27 16:57:23 +0000
4@@ -41,6 +41,7 @@
5 'tx_dlf_tcemain' => $extensionPath.'hooks/class.tx_dlf_tcemain.php',
6 'tx_dlf_modindexing' => $extensionPath.'modules/indexing/index.php',
7 'tx_dlf_collection' => $extensionPath.'plugins/collection/class.tx_dlf_collection.php',
8+ 'tx_dlf_feeds' => $extensionPath.'plugins/feeds/class.tx_dlf_feeds.php',
9 'tx_dlf_metadata' => $extensionPath.'plugins/metadata/class.tx_dlf_metadata.php',
10 'tx_dlf_navigation' => $extensionPath.'plugins/navigation/class.tx_dlf_navigation.php',
11 'tx_dlf_oai' => $extensionPath.'plugins/oai/class.tx_dlf_oai.php',
12
13=== modified file 'dlf/ext_localconf.php'
14--- dlf/ext_localconf.php 2011-08-19 16:25:11 +0000
15+++ dlf/ext_localconf.php 2011-08-27 16:57:23 +0000
16@@ -27,6 +27,8 @@
17 // Register plugins.
18 t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/collection/class.tx_dlf_collection.php', '_collection', 'list_type', TRUE);
19
20+t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/feeds/class.tx_dlf_feeds.php', '_feeds', 'list_type', FALSE);
21+
22 t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/listview/class.tx_dlf_listview.php', '_listview', 'list_type', FALSE);
23
24 t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/metadata/class.tx_dlf_metadata.php', '_metadata', 'list_type', TRUE);
25
26=== modified file 'dlf/ext_tables.php'
27--- dlf/ext_tables.php 2011-08-19 16:25:11 +0000
28+++ dlf/ext_tables.php 2011-08-27 16:57:23 +0000
29@@ -201,6 +201,15 @@
30
31 t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_collection', 'FILE:EXT:'.$_EXTKEY.'/plugins/collection/flexform.xml');
32
33+// Plugin "feeds".
34+$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_feeds'] = 'layout,select_key,pages,recursive';
35+
36+$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_feeds'] = 'pi_flexform';
37+
38+t3lib_extMgm::addPlugin(array('LLL:EXT:dlf/locallang_db.xml:tt_content.dlf_feeds', $_EXTKEY.'_feeds'), 'list_type');
39+
40+t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_feeds', 'FILE:EXT:'.$_EXTKEY.'/plugins/feeds/flexform.xml');
41+
42 // Plugin "listview".
43 $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_listview'] = 'layout,select_key,pages,recursive';
44
45
46=== modified file 'dlf/locallang_db.xml'
47--- dlf/locallang_db.xml 2011-08-19 16:25:11 +0000
48+++ dlf/locallang_db.xml 2011-08-27 16:57:23 +0000
49@@ -111,6 +111,7 @@
50 <label index="tx_dlf_toolbox.toolsDfgviewer">Link to DFG Viewer</label>
51 <label index="tx_dlf_toolbox.toolsPdf">PDF Download</label>
52 <label index="tt_content.dlf_collection">DLF: Collection</label>
53+ <label index="tt_content.dlf_feeds">DLF: Feeds</label>
54 <label index="tt_content.dlf_listview">DLF: List View</label>
55 <label index="tt_content.dlf_metadata">DLF: Metadata</label>
56 <label index="tt_content.dlf_navigation">DLF: Navigation</label>
57@@ -227,6 +228,7 @@
58 <label index="tx_dlf_toolbox.toolsDfgviewer">Link zum DFG-Viewer</label>
59 <label index="tx_dlf_toolbox.toolsPdf">PDF-Download</label>
60 <label index="tt_content.dlf_collection">DLF: Kollektion</label>
61+ <label index="tt_content.dlf_feeds">DLF: Feeds</label>
62 <label index="tt_content.dlf_listview">DLF: Listenansicht</label>
63 <label index="tt_content.dlf_metadata">DLF: Metadaten</label>
64 <label index="tt_content.dlf_navigation">DLF: Navigation</label>
65
66=== modified file 'dlf/plugins/collection/class.tx_dlf_collection.php'
67--- dlf/plugins/collection/class.tx_dlf_collection.php 2011-08-24 15:17:31 +0000
68+++ dlf/plugins/collection/class.tx_dlf_collection.php 2011-08-27 16:57:23 +0000
69@@ -196,6 +196,19 @@
70 // Link collection's title to list view.
71 $markerArray[$resArray['uid']]['###TITLE###'] = $this->cObj->typoLink(htmlspecialchars($resArray['label']), $conf);
72
73+ // Add feed link if applicable.
74+ if (!empty($this->conf['targetFeed'])) {
75+
76+ $_img = '<img src="'.t3lib_extMgm::siteRelPath($this->extKey).'res/icon_txdlffeeds.png" alt="'.$this->pi_getLL('feedAlt', '', TRUE).'" title="'.$this->pi_getLL('feedTitle', '', TRUE).'" />';
77+
78+ $markerArray[$resArray['uid']]['###FEED###'] = $this->pi_linkTP($_img, array ($this->prefixId => array ('collection' => $resArray['uid'])), FALSE, $this->conf['targetFeed']);
79+
80+ } else {
81+
82+ $markerArray[$resArray['uid']]['###FEED###'] = '';
83+
84+ }
85+
86 // Add description.
87 $markerArray[$resArray['uid']]['###DESCRIPTION###'] = $this->pi_RTEcssText($resArray['description']);
88
89
90=== modified file 'dlf/plugins/collection/flexform.xml'
91--- dlf/plugins/collection/flexform.xml 2011-03-09 15:36:27 +0000
92+++ dlf/plugins/collection/flexform.xml 2011-08-27 16:57:23 +0000
93@@ -66,6 +66,20 @@
94 </config>
95 </TCEforms>
96 </targetPid>
97+ <targetFeed>
98+ <TCEforms>
99+ <exclude>1</exclude>
100+ <label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.targetFeed</label>
101+ <config>
102+ <type>group</type>
103+ <internal_type>db</internal_type>
104+ <allowed>pages</allowed>
105+ <size>1</size>
106+ <maxitems>1</maxitems>
107+ <minitems>0</minitems>
108+ </config>
109+ </TCEforms>
110+ </targetFeed>
111 <templateFile>
112 <TCEforms>
113 <exclude>1</exclude>
114
115=== modified file 'dlf/plugins/collection/locallang.xml'
116--- dlf/plugins/collection/locallang.xml 2011-08-18 07:16:11 +0000
117+++ dlf/plugins/collection/locallang.xml 2011-08-27 16:57:23 +0000
118@@ -10,22 +10,28 @@
119 <label index="tt_content.pi_flexform.collections">Show only these collections</label>
120 <label index="tt_content.pi_flexform.show_userdefined">Show user-defined collections?</label>
121 <label index="tt_content.pi_flexform.targetPid">Target page (with "DLF: List View" plugin)</label>
122+ <label index="tt_content.pi_flexform.targetFeed">Target page (with "DLF: Feeds" plugin)</label>
123 <label index="tt_content.pi_flexform.templateFile">Template file</label>
124 <label index="title"> title</label>
125 <label index="titles"> titles</label>
126 <label index="volume"> volume</label>
127 <label index="volumes"> volumes</label>
128+ <label index="feedAlt">RSS feed</label>
129+ <label index="feedTitle">Subscribe to the RSS feed of this collection!</label>
130 </languageKey>
131 <languageKey index="de" type="array">
132 <label index="tt_content.pi_flexform.sheet_general">Einstellungen</label>
133 <label index="tt_content.pi_flexform.collections">Nur diese Kollektionen anzeigen</label>
134 <label index="tt_content.pi_flexform.show_userdefined">Benutzerdefinierte Kollektionen anzeigen?</label>
135 <label index="tt_content.pi_flexform.targetPid">Zielseite (mit Plugin "DLF: Listenansicht")</label>
136+ <label index="tt_content.pi_flexform.targetFeed">Zielseite (mit Plugin "DLF: Feeds")</label>
137 <label index="tt_content.pi_flexform.templateFile">HTML-Template</label>
138 <label index="title"> Titel</label>
139 <label index="titles"> Titel</label>
140 <label index="volume"> Band</label>
141 <label index="volumes"> Bände</label>
142+ <label index="feedAlt">RSS-Feed</label>
143+ <label index="feedTitle">Abonnieren Sie den RSS-Feed dieser Kollektion!</label>
144 </languageKey>
145 </data>
146 </T3locallang>
147\ No newline at end of file
148
149=== modified file 'dlf/plugins/collection/template.tmpl'
150--- dlf/plugins/collection/template.tmpl 2011-08-24 15:17:31 +0000
151+++ dlf/plugins/collection/template.tmpl 2011-08-27 16:57:23 +0000
152@@ -2,7 +2,7 @@
153 <ul>
154 <!-- ###ENTRY### -->
155 <li>
156- <h2>###TITLE###</h2>
157+ <h2>###TITLE### <span>###FEED###</span></h2>
158 ###DESCRIPTION###
159 <p class="counts">(###COUNT_TITLES###/###COUNT_VOLUMES###)</p>
160 </li>
161
162=== added directory 'dlf/plugins/feeds'
163=== added file 'dlf/plugins/feeds/class.tx_dlf_feeds.php'
164--- dlf/plugins/feeds/class.tx_dlf_feeds.php 1970-01-01 00:00:00 +0000
165+++ dlf/plugins/feeds/class.tx_dlf_feeds.php 2011-08-27 16:57:23 +0000
166@@ -0,0 +1,221 @@
167+<?php
168+/***************************************************************
169+* Copyright notice
170+*
171+* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
172+* All rights reserved
173+*
174+* This script is part of the TYPO3 project. The TYPO3 project is
175+* free software; you can redistribute it and/or modify
176+* it under the terms of the GNU General Public License as published by
177+* the Free Software Foundation; either version 2 of the License, or
178+* (at your option) any later version.
179+*
180+* The GNU General Public License can be found at
181+* http://www.gnu.org/copyleft/gpl.html.
182+*
183+* This script is distributed in the hope that it will be useful,
184+* but WITHOUT ANY WARRANTY; without even the implied warranty of
185+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
186+* GNU General Public License for more details.
187+*
188+* This copyright notice MUST APPEAR in all copies of the script!
189+***************************************************************/
190+
191+/**
192+ * [CLASS/FUNCTION INDEX of SCRIPT]
193+ */
194+
195+/**
196+ * Plugin 'DLF: Feeds' for the 'dlf' extension.
197+ *
198+ * @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
199+ * @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
200+ * @package TYPO3
201+ * @subpackage tx_dlf
202+ * @access public
203+ */
204+class tx_dlf_feeds extends tx_dlf_plugin {
205+
206+ public $scriptRelPath = 'plugins/feeds/class.tx_dlf_feeds.php';
207+
208+ /**
209+ * The main method of the PlugIn
210+ *
211+ * @access public
212+ *
213+ * @param string $content: The PlugIn content
214+ * @param array $conf: The PlugIn configuration
215+ *
216+ * @return string The content that is displayed on the website
217+ */
218+ public function main($content, $conf) {
219+
220+ $this->init($conf);
221+
222+ // Don't cache the output.
223+ $this->setCache(FALSE);
224+
225+ // Create XML document.
226+ $rss = new DOMDocument('1.0', 'utf-8');
227+
228+ // Add mandatory root element.
229+ $root = $rss->createElement('rss');
230+
231+ $root->setAttribute('version', '2.0');
232+
233+ // Add channel element.
234+ $channel = $rss->createElement('channel');
235+
236+ $channel->appendChild($rss->createElement('title', htmlspecialchars($this->conf['title'], ENT_NOQUOTES, 'UTF-8')));
237+
238+ $channel->appendChild($rss->createElement('link', htmlspecialchars(t3lib_div::locationHeaderUrl($this->pi_linkTP_keepPIvars_url()), ENT_NOQUOTES, 'UTF-8')));
239+
240+ if (!empty($this->conf['description'])) {
241+
242+ $channel->appendChild($rss->createElement('description', htmlspecialchars($this->conf['description'], ENT_QUOTES, 'UTF-8')));
243+
244+ }
245+
246+ $_result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
247+ 'tx_dlf_libraries.label AS label',
248+ 'tx_dlf_libraries',
249+ 'tx_dlf_libraries.pid='.intval($this->conf['pages']).' AND tx_dlf_libraries.uid='.intval($this->conf['library']).tx_dlf_helper::whereClause('tx_dlf_libraries'),
250+ '',
251+ '',
252+ '1'
253+ );
254+
255+ if ($GLOBALS['TYPO3_DB']->sql_num_rows($_result)) {
256+
257+ $_resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($_result);
258+
259+ $channel->appendChild($rss->createElement('copyright', htmlspecialchars($_resArray['label'], ENT_NOQUOTES, 'UTF-8')));
260+
261+ }
262+
263+ $channel->appendChild($rss->createElement('pubDate', date('r', $GLOBALS['EXEC_TIME'])));
264+
265+ // Load extension configuration
266+ $_extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['dlf']);
267+
268+ $channel->appendChild($rss->createElement('generator', htmlspecialchars($_extconf['useragent'], ENT_NOQUOTES, 'UTF-8')));
269+
270+ // Add item elements.
271+ if (!$this->conf['excludeOther'] || empty($this->piVars['collection']) || t3lib_div::inList($this->conf['collections'], $this->piVars['collection'])) {
272+
273+ $additionalWhere = '';
274+
275+ // Check for pre-selected collections.
276+ if (!empty($this->piVars['collection'])) {
277+
278+ $additionalWhere = ' AND tx_dlf_collections.uid='.intval($this->piVars['collection']);
279+
280+ } elseif (!empty($this->conf['collections'])) {
281+
282+ $additionalWhere = ' AND tx_dlf_collections.uid IN ('.$GLOBALS['TYPO3_DB']->cleanIntList($this->conf['collections']).')';
283+
284+ }
285+
286+ $result = $GLOBALS['TYPO3_DB']->exec_SELECT_mm_query(
287+ 'tx_dlf_documents.title AS title,tx_dlf_documents.volume AS volume,tx_dlf_documents.uid AS uid,tx_dlf_documents.author AS author,tx_dlf_documents.record_id AS guid,tx_dlf_documents.tstamp AS tstamp,tx_dlf_documents.crdate AS crdate',
288+ 'tx_dlf_documents',
289+ 'tx_dlf_relations',
290+ 'tx_dlf_collections',
291+ 'AND tx_dlf_documents.pid='.intval($this->conf['pages']).' AND tx_dlf_collections.pid='.intval($this->conf['pages']).$additionalWhere.tx_dlf_helper::whereClause('tx_dlf_documents').tx_dlf_helper::whereClause('tx_dlf_collections'),
292+ 'tx_dlf_documents.uid',
293+ 'tx_dlf_documents.tstamp DESC',
294+ intval($this->conf['limit'])
295+ );
296+
297+ if ($GLOBALS['TYPO3_DB']->sql_num_rows($result)) {
298+
299+ // Add each record as item element.
300+ while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) {
301+
302+ $item = $rss->createElement('item');
303+
304+ if ($resArray['crdate'] == $resArray['tstamp']) {
305+
306+ $title = $this->pi_getLL('new');
307+
308+ } else {
309+
310+ $title = $this->pi_getLL('update');
311+
312+ }
313+
314+ if (!empty($resArray['title'])) {
315+
316+ $title .= $resArray['title'];
317+
318+ } else {
319+
320+ $title .= $this->pi_getLL('noTitle');
321+
322+ }
323+
324+ if (!empty($resArray['volume'])) {
325+
326+ $title .= ', '.$this->pi_getLL('volume').' '.$resArray['volume'];
327+
328+ }
329+
330+ $item->appendChild($rss->createElement('title', htmlspecialchars($title, ENT_NOQUOTES, 'UTF-8')));
331+
332+ $item->appendChild($rss->createElement('link', htmlspecialchars(t3lib_div::locationHeaderUrl($this->pi_getPageLink($this->conf['targetPid'], '', array ($this->prefixId => array ('id' => $resArray['uid'])))), ENT_NOQUOTES, 'UTF-8')));
333+
334+ if (!empty($resArray['author'])) {
335+
336+ $item->appendChild($rss->createElement('author', htmlspecialchars($resArray['author'], ENT_NOQUOTES, 'UTF-8')));
337+
338+ }
339+
340+ $item->appendChild($rss->createElement('pubDate', date('r', $resArray['crdate'])));
341+
342+ $item->appendChild($rss->createElement('guid', htmlspecialchars($resArray['guid'], ENT_NOQUOTES, 'UTF-8')));
343+
344+ $channel->appendChild($item);
345+
346+ }
347+
348+ }
349+
350+ }
351+
352+ $root->appendChild($channel);
353+
354+ // Build XML output.
355+ $rss->appendChild($root);
356+
357+ $content = $rss->saveXML();
358+
359+ // Send headers.
360+ header('HTTP/1.1 200 OK');
361+
362+ header('Cache-Control: no-cache');
363+
364+ header('Content-Length: '.strlen($content));
365+
366+ header('Content-Type: application/rss+xml; charset=utf-8');
367+
368+ header('Date: '.date('r', $GLOBALS['EXEC_TIME']));
369+
370+ header('Expires: '.date('r', $GLOBALS['EXEC_TIME']));
371+
372+ echo $content;
373+
374+ // Flush output buffer and end script processing.
375+ ob_end_flush();
376+
377+ exit;
378+
379+ }
380+
381+}
382+
383+if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/feeds/class.tx_dlf_feeds.php']) {
384+ include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/feeds/class.tx_dlf_feeds.php']);
385+}
386+
387+?>
388\ No newline at end of file
389
390=== added file 'dlf/plugins/feeds/flexform.xml'
391--- dlf/plugins/feeds/flexform.xml 1970-01-01 00:00:00 +0000
392+++ dlf/plugins/feeds/flexform.xml 2011-08-27 16:57:23 +0000
393@@ -0,0 +1,118 @@
394+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
395+<T3DataStructure>
396+ <meta>
397+ <langDisable>1</langDisable>
398+ </meta>
399+ <sheets>
400+ <sDEF>
401+ <ROOT>
402+ <TCEforms>
403+ <sheetTitle>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.sheet_general</sheetTitle>
404+ </TCEforms>
405+ <type>array</type>
406+ <el>
407+ <pages>
408+ <TCEforms>
409+ <exclude>1</exclude>
410+ <label>LLL:EXT:lang/locallang_general.xml:LGL.startingpoint</label>
411+ <config>
412+ <type>group</type>
413+ <internal_type>db</internal_type>
414+ <allowed>pages</allowed>
415+ <size>1</size>
416+ <maxitems>1</maxitems>
417+ <minitems>1</minitems>
418+ </config>
419+ </TCEforms>
420+ </pages>
421+ <collections>
422+ <TCEforms>
423+ <displayCond>FIELD:pages:REQ:true</displayCond>
424+ <exclude>1</exclude>
425+ <label>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.collections</label>
426+ <config>
427+ <type>select</type>
428+ <items type="array"></items>
429+ <itemsProcFunc>tx_dlf_tceforms->itemsProcFunc_collectionList</itemsProcFunc>
430+ <size>5</size>
431+ <autoSizeMax>15</autoSizeMax>
432+ <maxitems>1024</maxitems>
433+ <minitems>0</minitems>
434+ </config>
435+ </TCEforms>
436+ </collections>
437+ <excludeOther>
438+ <TCEforms>
439+ <exclude>1</exclude>
440+ <label>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.excludeOther</label>
441+ <config>
442+ <type>check</type>
443+ <default>0</default>
444+ </config>
445+ </TCEforms>
446+ </excludeOther>
447+ <library>
448+ <TCEforms>
449+ <displayCond>FIELD:pages:REQ:true</displayCond>
450+ <exclude>1</exclude>
451+ <label>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.library</label>
452+ <config>
453+ <type>select</type>
454+ <items type="array"></items>
455+ <itemsProcFunc>tx_dlf_tceforms->itemsProcFunc_libraryList</itemsProcFunc>
456+ <size>1</size>
457+ <maxitems>1</maxitems>
458+ <minitems>0</minitems>
459+ </config>
460+ </TCEforms>
461+ </library>
462+ <limit>
463+ <TCEforms>
464+ <exclude>1</exclude>
465+ <label>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.limit</label>
466+ <config>
467+ <type>input</type>
468+ <eval>required,num,int</eval>
469+ <default>50</default>
470+ </config>
471+ </TCEforms>
472+ </limit>
473+ <targetPid>
474+ <TCEforms>
475+ <exclude>1</exclude>
476+ <label>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.targetPid</label>
477+ <config>
478+ <type>group</type>
479+ <internal_type>db</internal_type>
480+ <allowed>pages</allowed>
481+ <size>1</size>
482+ <maxitems>1</maxitems>
483+ <minitems>1</minitems>
484+ </config>
485+ </TCEforms>
486+ </targetPid>
487+ <title>
488+ <TCEforms>
489+ <exclude>1</exclude>
490+ <label>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.title</label>
491+ <config>
492+ <type>input</type>
493+ <eval>required,trim</eval>
494+ </config>
495+ </TCEforms>
496+ </title>
497+ <description>
498+ <TCEforms>
499+ <exclude>1</exclude>
500+ <label>LLL:EXT:dlf/plugins/feeds/locallang.xml:tt_content.pi_flexform.description</label>
501+ <config>
502+ <type>input</type>
503+ <eval>trim</eval>
504+ </config>
505+ </TCEforms>
506+ </description>
507+ </el>
508+ </ROOT>
509+ </sDEF>
510+ </sheets>
511+</T3DataStructure>
512\ No newline at end of file
513
514=== added file 'dlf/plugins/feeds/locallang.xml'
515--- dlf/plugins/feeds/locallang.xml 1970-01-01 00:00:00 +0000
516+++ dlf/plugins/feeds/locallang.xml 2011-08-27 16:57:23 +0000
517@@ -0,0 +1,37 @@
518+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
519+<T3locallang>
520+ <meta type="array">
521+ <type>module</type>
522+ <description>Language labels for plugin tx_dlf_feeds</description>
523+ </meta>
524+ <data type="array">
525+ <languageKey index="default" type="array">
526+ <label index="tt_content.pi_flexform.sheet_general">Options</label>
527+ <label index="tt_content.pi_flexform.collections">Collections</label>
528+ <label index="tt_content.pi_flexform.excludeOther">Show only documents from the selected collection(s)</label>
529+ <label index="tt_content.pi_flexform.library">Providing library</label>
530+ <label index="tt_content.pi_flexform.limit">Number of documents</label>
531+ <label index="tt_content.pi_flexform.targetPid">Target page (with "DLF: Page View" plugin)</label>
532+ <label index="tt_content.pi_flexform.title">Feed's title</label>
533+ <label index="tt_content.pi_flexform.description">Feed's description</label>
534+ <label index="new">NEW: </label>
535+ <label index="update">UPDATE: </label>
536+ <label index="noTitle">[no title]</label>
537+ <label index="volume">Volume</label>
538+ </languageKey>
539+ <languageKey index="de" type="array">
540+ <label index="tt_content.pi_flexform.sheet_general">Einstellungen</label>
541+ <label index="tt_content.pi_flexform.collections">Kollektionen</label>
542+ <label index="tt_content.pi_flexform.excludeOther">Nur Dokumente der ausgewählten Kollektion(en) berücksichtigen</label>
543+ <label index="tt_content.pi_flexform.library">Mandant</label>
544+ <label index="tt_content.pi_flexform.limit">Anzahl der Dokumente</label>
545+ <label index="tt_content.pi_flexform.targetPid">Zielseite (mit Plugin "DLF: Seitenansicht")</label>
546+ <label index="tt_content.pi_flexform.title">Titel des Feeds</label>
547+ <label index="tt_content.pi_flexform.description">Beschreibung des Feeds</label>
548+ <label index="new">NEU: </label>
549+ <label index="update">UPDATE: </label>
550+ <label index="noTitle">[kein Titel]</label>
551+ <label index="volume">Band</label>
552+ </languageKey>
553+ </data>
554+</T3locallang>
555\ No newline at end of file
556
557=== modified file 'dlf/plugins/oai/template.tmpl'
558--- dlf/plugins/oai/template.tmpl 2011-03-09 15:36:27 +0000
559+++ dlf/plugins/oai/template.tmpl 2011-08-27 16:57:23 +0000
560@@ -1,6 +1,6 @@
561 <!-- ###TEMPLATE### -->
562-<?xml version="1.0" encoding="UTF-8" ?>
563-<?xml-stylesheet type="text/xsl" href="###STYLESHEET###" ?>
564+<?xml version="1.0" encoding="UTF-8"?>
565+<?xml-stylesheet type="text/xsl" href="###STYLESHEET###"?>
566 <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
567 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
568 xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
569
570=== added file 'dlf/res/icon_txdlffeeds.png'
571Binary files dlf/res/icon_txdlffeeds.png 1970-01-01 00:00:00 +0000 and dlf/res/icon_txdlffeeds.png 2011-08-27 16:57:23 +0000 differ

Subscribers

People subscribed via source and target branches

to all changes: