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

List:       kde-commits
Subject:    extragear/office/tellico
From:       Robby Stephenson <robby () periapsis ! org>
Date:       2011-02-22 3:03:13
Message-ID: 20110222030313.B80F6AC8BF () svn ! kde ! org
[Download RAW message or body]

SVN commit 1222166 by rstephenson:

add data source for douban.com

 M  +4 -0      ChangeLog  
 M  +1 -0      src/fetch/CMakeLists.txt  
 A             src/fetch/doubanfetcher.cpp   [License: GPL (v2/3)]
 A             src/fetch/doubanfetcher.h   [License: GPL (v2/3)]
 M  +2 -1      src/fetch/fetch.h  
 M  +2 -0      src/fetch/fetcherinitializer.cpp  
 M  +3 -0      src/tests/CMakeLists.txt  
 A             src/tests/doubanfetchertest.cpp   [License: GPL (v2/3)]
 A             src/tests/doubanfetchertest.h   [License: GPL (v2/3)]
 M  +1 -1      src/utils/xmlhandler.h  
 M  +1 -0      xslt/CMakeLists.txt  
 A             xslt/douban2tellico.xsl  


--- trunk/extragear/office/tellico/ChangeLog #1222165:1222166
@@ -1,3 +1,7 @@
+2011-02-21  Robby Stephenson  <robby@periapsis.org>
+
+	* Added data source for douban.com.
+
 2011-02-19  Robby Stephenson  <robby@periapsis.org>
 
 	* Added data source fetcher for filmaster.com.
--- trunk/extragear/office/tellico/src/fetch/CMakeLists.txt #1222165:1222166
@@ -12,6 +12,7 @@
    configwidget.cpp
    crossreffetcher.cpp
    discogsfetcher.cpp
+   doubanfetcher.cpp
    dvdfrfetcher.cpp
    entrezfetcher.cpp
    execexternalfetcher.cpp
--- trunk/extragear/office/tellico/src/fetch/fetch.h #1222165:1222166
@@ -76,7 +76,8 @@
   Multiple,
   Freebase,
   DVDFr,
-  Filmaster
+  Filmaster,
+  Douban
 };
 
   }
--- trunk/extragear/office/tellico/src/fetch/fetcherinitializer.cpp #1222165:1222166
@@ -54,6 +54,7 @@
 #include "filmasterfetcher.h"
 #endif
 #include "dvdfrfetcher.h"
+#include "doubanfetcher.h"
 
 /**
  * Ideally, I'd like these initializations to be in each cpp file for each collection type
@@ -94,4 +95,5 @@
   RegisterFetcher<Fetch::FilmasterFetcher> registerFilmaster(Filmaster);
 #endif
   RegisterFetcher<Fetch::DVDFrFetcher> registerDVDFr(DVDFr);
+  RegisterFetcher<Fetch::DoubanFetcher> registerDouban(Douban);
 }
--- trunk/extragear/office/tellico/src/tests/CMakeLists.txt #1222165:1222166
@@ -120,6 +120,9 @@
 KDE4_ADD_UNIT_TEST(discogsfetchertest NOGUI discogsfetchertest.cpp)
 TARGET_LINK_LIBRARIES(discogsfetchertest fetch ${TELLICO_TEST_LIBS})
 
+KDE4_ADD_UNIT_TEST(doubanfetchertest NOGUI doubanfetchertest.cpp)
+TARGET_LINK_LIBRARIES(doubanfetchertest fetch ${TELLICO_TEST_LIBS})
+
 KDE4_ADD_UNIT_TEST(dvdfrfetchertest NOGUI dvdfrfetchertest.cpp)
 TARGET_LINK_LIBRARIES(dvdfrfetchertest fetch ${TELLICO_TEST_LIBS})
 
--- trunk/extragear/office/tellico/src/utils/xmlhandler.h #1222165:1222166
@@ -42,7 +42,7 @@
    */
   static bool setUtf8XmlEncoding(QString& text);
   /**
-   * Read XML data iinto a string, respecting the encoding in the string
+   * Read XML data into a string, respecting the encoding in the string
    */
   static QString readXMLData(const QByteArray& data);
 };
--- trunk/extragear/office/tellico/xslt/CMakeLists.txt #1222165:1222166
@@ -12,6 +12,7 @@
     crossref2tellico.xsl
     delicious2tellico.xsl
     discogs2tellico.xsl
+    douban2tellico.xsl
     dvd-logo.png
     dvdfr2tellico.xsl
     gcstar2tellico.xsl
[prev in list] [next in list] [prev in thread] [next in thread] 

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