[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Blogfeed entry in KAddressbook, librss
From: Cornelius Schumacher <schumacher () kde ! org>
Date: 2006-02-26 23:30:23
Message-ID: 200602270030.23416.schumacher () kde ! org
[Download RAW message or body]
On Friday 24 February 2006 16:09, Friedrich W. H. Kossebau wrote:
>
> I wonder what the purpose of the blog feed entry in the AddresseView[0]
> has?
It's meant to contain the URL of a blog feed which can be processed for
example for aggregation. It's used in KAddressBook to extract a picture of
the user (on the Misc tab).
> Proposal:
> Treat it like the address: Adding "blogfeed:" to the blog entry a click
> could then be catched in
>
> void AddresseeView::slotUrlClicked( const QString &url )
> {
> if ( url.startsWith( "phone:" ) )
> phoneNumberClicked( strippedNumber( url.mid( 8 ) ) );
> else if ( url.startsWith( "sms:" ) )
> smsTextClicked( strippedNumber( url.mid( 6 ) ) );
> else if ( url.startsWith( "fax:" ) )
> faxNumberClicked( strippedNumber( url.mid( 6 ) ) );
> else if ( url.startsWith( "addr:" ) )
> emit addressClicked( url.mid( 7 ) );
> // begin proposal
> else if ( url.startsWith( "blogfeed:" ) )
> emit blogFeedClicked( url.mid( 11 ) );
> // end proposal
> else if ( url.startsWith( "im:" ) )
> imAddressClicked();
> else
> urlClicked( url );
> }
>
> and KAddressbook, which has already linked librss into, could connect to
> this signal and do something fancy (like loading the most recent article,
> any better idea?).
Ok with me. You should take care that the "get picture from blog"
functionality still works, though.
--
Cornelius Schumacher <schumacher@kde.org>
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic