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

List:       kde-commits
Subject:    playground/pim/krss/resource
From:       Dmitry Ivanov <vonami () gmail ! com>
Date:       2008-06-22 15:27:49
Message-ID: 1214148469.967541.9411.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 823117 by divanov:

Support for the OPML v2 'category' attribute in import


 M  +5 -0      rssresource.cpp  


--- trunk/playground/pim/krss/resource/rssresource.cpp #823116:823117
@@ -755,6 +755,11 @@
                 }
                 col.addAttribute( props );
 
+                // add tags from the 'category' attribute (OPML v2)
+                if ( !attributeValue( m_reader.attributes(), "category" ).isEmpty() \
) { +                        tags += attributeValue( m_reader.attributes(), \
"category" ).toString().split( ',' ); +                }
+
                 // set feed tags
                 kDebug() << "Setting tags:" << tags;
                 TagsCollectionAttribute *feedTags = new TagsCollectionAttribute( \
tags );


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

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