diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-12 01:50:19 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-12 01:50:19 -0400 |
commit | 703e892b691fd98fccbbbeada3897ae0c018ac9d (patch) | |
tree | 85a02656b3e3ea592308dbb06bfb51161d615193 /opmlexporter.php | |
parent | fcaa16f2eafe87e0353d1be7ce4bde0d33c43e81 (diff) |
removes the Everything folder
Diffstat (limited to 'opmlexporter.php')
-rw-r--r-- | opmlexporter.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/opmlexporter.php b/opmlexporter.php new file mode 100644 index 000000000..86b8bee81 --- /dev/null +++ b/opmlexporter.php @@ -0,0 +1,35 @@ +<?php + +/** +* ownCloud - News app +* +* @author Alessandro Cosentino +* Copyright (c) 2012 - Alessandro Cosentino <cosenal@gmail.com> +* +* This file is licensed under the Affero General Public License version 3 or later. +* See the COPYING-README file +* +*/ + +class OPMLExporter { + + + public static function feedToXML(OCA\News\Feed $feed){ + + } + + /** + * @brief + */ + public static function export(OCA\News\Collection $data){ + foreach($children as $child) { + if ($child instanceOf OCA\News\Folder){ + } + elseif ($child instanceOf OCA\News\Feed) { //onhover $(element).attr('id', 'newID'); + } + else { + //TODO:handle error in this case + } + } + } +}
\ No newline at end of file |