diff --git a/lib/opmlimporter.php b/lib/opmlimporter.php
new file mode 100644
index 000000000..c95df5131
--- /dev/null
+++ b/lib/opmlimporter.php
@@ -0,0 +1,22 @@
+.
+*
+*/
+
diff --git a/templates/main.php b/templates/main.php
index fc2631412..ec5a61b35 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -4,10 +4,14 @@ $mapper = new OC_News_FeedMapper();
$feed = $mapper->fetch( 'http://algorithmsforthekitchen.com/blog/?feed=rss2' );
echo "
" . $feed->getTitle() . "
";
$mapper->insert($feed);
-$feed = $mapper->find($feed->getId());
+$feed = $mapper->findWithItems($feed->getId());
echo "
" . $feed->getTitle() . "
";
$items = $feed->getItems();
+foreach($items as $item) {
+ echo $item->getTitle();
+}
+
$feed2 = $mapper->findWithItems(45);
echo "
" . $feed2->getTitle() . "
";