[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: 2009-04-18 18:23:42
Message-ID: 1240079022.349297.12714.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 955873 by momeny:
Fix tagging in GData::ModifyPost
A debug output that show user credentials removed from source.
M +5 -3 gdata.cpp
--- trunk/KDE/kdepimlibs/kblog/gdata.cpp #955872:955873
@@ -231,6 +231,11 @@
atomMarkup += "<div xmlns='http://www.w3.org/1999/xhtml'>";
atomMarkup += post->content();
atomMarkup += "</div></content>";
+ QList<QString>::ConstIterator it = post->tags().constBegin();
+ QList<QString>::ConstIterator end = post->tags().constEnd();
+ for( ; it != end; ++it ){
+ atomMarkup += "<category scheme='http://www.blogger.com/atom/ns#' term='" + ( *it ) + "' />";
+ }
atomMarkup += "<author>";
if ( !fullName().isEmpty() ) {
atomMarkup += "<name>" + fullName() + "</name>";
@@ -495,9 +500,6 @@
mAuthenticationString.isEmpty() ) {
KIO::Job *job = KIO::http_post( authGateway, QByteArray(), KIO::HideProgressInfo );
if ( KIO::NetAccess::synchronousRun( job, (QWidget*)0, &data, &authGateway ) ) {
- kDebug() << "Fetched authentication result for"
- << authGateway.prettyUrl() << ".";
- kDebug() << "Authentication response:" << data;
QRegExp rx( "Auth=(.+)" );
if ( rx.indexIn( data ) != -1 ) {
kDebug() << "RegExp got authentication string:" << rx.cap(1);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic