[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdepimlibs/kblog
From: Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date: 2009-04-18 18:34:04
Message-ID: 1240079644.739923.13784.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 955883 by momeny:
Backport of 955873:
Fix tagging in GData::ModifyPost
A debug output that show user credentials removed from source.
M +5 -3 gdata.cpp
--- branches/KDE/4.2/kdepimlibs/kblog/gdata.cpp #955882:955883
@@ -230,6 +230,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>";
@@ -494,9 +499,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