[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kblog
From:       Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date:       2008-12-30 10:05:42
Message-ID: 1230631542.795435.16207.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 903247 by momeny:

Support for MovableType and Wordpress CategoryId and parentId added to metaWeblog.getCategories

 M  +5 -1      metaweblog.cpp  


--- trunk/KDE/kdepimlibs/kblog/metaweblog.cpp #903246:903247
@@ -146,7 +146,9 @@
         category["name"]= ( *it );
         category["description"] = serverCategory[ "description" ].toString();
         category["htmlUrl"] = serverCategory[ "htmlUrl" ].toString();
-        category["rssUrl"] = serverCategory[ "rssUrl" ].toString();
+		category["rssUrl"] = serverCategory[ "rssUrl" ].toString();
+		category["categoryId"] = serverCategory[ "categoryId" ].toString();
+		category["parentId"] = serverCategory[ "parentId" ].toString();
         categoriesList.append( category );
       }
       kDebug() << "Emitting listedCategories";
@@ -167,6 +169,8 @@
       category["description"] = serverCategory[ "description" ].toString();
       category["htmlUrl"] = serverCategory[ "htmlUrl" ].toString();
       category["rssUrl"] = serverCategory[ "rssUrl" ].toString();
+	  category["categoryId"] = serverCategory[ "categoryId" ].toString();
+	  category["parentId"] = serverCategory[ "parentId" ].toString();
       categoriesList.append( category );
     }
     kDebug() << "Emitting listedCategories()";
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic