Qml support for harmattan version improved
[feedingit] / psa_harmattan / feedingit / qml / ArticleViewer.qml
index a077969..809f365 100644 (file)
@@ -4,6 +4,7 @@ Item {
     id: articleViewer
     //width: 480; height: 360;
     width: parent.width; height: parent.height;
+    property string feedid: parent.feedid
     //property string feedid: "61ac1458d761423344998dc76770e36e" //articlesItem.feedid;
     //property string hideReadArticles: "";
     property alias articleShown: articleView.visible;
@@ -154,7 +155,7 @@ Item {
         id: articles
 
         //source: articleViewer.feedid == "" ? "" : "http://localhost:8000/articles/" + feedid + "?onlyUnread=" + hideReadArticles
-        //xml: articleViewer.feedid == "" ? "" : controller.getArticlesXml(articleViewer.feedid)
+        xml: articleViewer.feedid == "" ? "" : controller.getArticlesXml(articleViewer.feedid)
         query: "/xml/article"
 
         XmlRole { name: "title"; query: "title/string()" }