<div class="gmail_quote"><div class="gmail_quote">2009/10/29 Hayri Bakici <span dir="ltr">&lt;<a href="mailto:thehayro@gmail.com" target="_blank">thehayro@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

No, because i didn&#39;t get an &quot;OK&quot;. I started to write it, but it needed<br>
to be discussed.<br>
<br>
greetz<br>
<div><div></div><div><br>
On Thu, Oct 29, 2009 at 8:46 AM, Alessandro Diaferia<br>
&lt;<a href="mailto:alediaferia@gmail.com" target="_blank">alediaferia@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; 2009/10/16 Onur - Hayri Bakici &lt;<a href="mailto:thehayro@gmail.com" target="_blank">thehayro@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; i started to plan the pictureprovider DataEngine class.<br>
&gt;&gt; since flickr has a complete different api-structure than picasa i had the<br>
&gt;&gt; idea<br>
&gt;&gt; to make two packages: PicturePackage and AlbumPackage.<br>
&gt;&gt; The reason: with picasa, every picture is in at least one album. so if we<br>
&gt;&gt; are<br>
&gt;&gt; searching for pictures in picasa, we also get information in which album<br>
&gt;&gt; they<br>
&gt;&gt; belong. In flickr it is not that way. pictures in flickr do not<br>
&gt;&gt; necessarily<br>
&gt;&gt; belong to an album. Also, in flickr, to get the whole information about a<br>
&gt;&gt; picture, we have to call another query. Nevertheless, i think the<br>
&gt;&gt; picturePackage-struct should have an albumId.<br>
&gt;&gt; my idea of the packages:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; typedef struct {<br>
&gt;&gt;    QString id;<br>
&gt;&gt;    QDate published;<br>
&gt;&gt;    QDate updated;<br>
&gt;&gt;    QString title;<br>
&gt;&gt;    QString link;<br>
&gt;&gt;    uint width;<br>
&gt;&gt;    uint height;<br>
&gt;&gt;    uint size; //necessary?<br>
&gt;&gt;    QString thumbnail;<br>
&gt;&gt;    QStringList tags;<br>
&gt;&gt; } PicturePackage;<br>
&gt;&gt;<br>
&gt;&gt; typedef struct {<br>
&gt;&gt;    QString id;<br>
&gt;&gt;    QString title;<br>
&gt;&gt;    QString author;<br>
&gt;&gt;    QList&lt;PicturePackage*&gt; photos;<br>
&gt;&gt; } AlbumPackage;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; In the picasa DataEngine (picasainterface.cpp) is a method listAllAlbums.<br>
&gt;&gt; in<br>
&gt;&gt; this case the AlbumPackage can be used? What do you think?<br>
&gt;&gt;<br>
&gt;&gt; I did some research and i found some other Image Host sites such as<br>
&gt;&gt; imageShack, Fotolog, CrunchBase and photoBucket. Of course i bumped into<br>
&gt;&gt; some limits:<br>
&gt;&gt; * ImageShack has (at first sight) no fuction call to search for pictures,<br>
&gt;&gt; only to upload and manipulate images and albums.<br>
&gt;&gt; * FotoLog can (as far as i know) only be accessed as a facebook app<br>
&gt;&gt; * Crunchbase&#39;s response method is only in JSON<br>
&gt;&gt;<br>
&gt;&gt; Photobucket responses in xml, like flickr and picasa.<br>
&gt;&gt; So anyways, about the queries.<br>
&gt;&gt; sice some image Host sites also provide videos, i suggest to make the<br>
&gt;&gt; queries like in the videoProvider query.<br>
&gt;&gt;<br>
&gt;&gt; greetz<br>
&gt;&gt;<br>
&gt;&gt; greetz<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Kde-silk mailing list<br>
&gt;&gt; <a href="mailto:Kde-silk@kde.org" target="_blank">Kde-silk@kde.org</a><br>
&gt;&gt; <a href="https://mail.kde.org/mailman/listinfo/kde-silk" target="_blank">https://mail.kde.org/mailman/listinfo/kde-silk</a><br>
&gt;<br>
&gt;<br>
&gt; Sorry for my sporadic phantoms people... I just wanted to know what&#39;s the<br>
&gt; status of this dataengine. As sebas said the idea makes sense but has the<br>
&gt; dataengine been written right now?<br>
&gt;<br>
&gt; Cheers<br>
&gt; --<br>
&gt; Alessandro Diaferia<br>
&gt; KDE Developer<br>
&gt; KDE e.V. member<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Kde-silk mailing list<br>
&gt; <a href="mailto:Kde-silk@kde.org" target="_blank">Kde-silk@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/kde-silk" target="_blank">https://mail.kde.org/mailman/listinfo/kde-silk</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Kde-silk mailing list<br>
<a href="mailto:Kde-silk@kde.org" target="_blank">Kde-silk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-silk" target="_blank">https://mail.kde.org/mailman/listinfo/kde-silk</a><br>
</div></div></blockquote></div></div></div><br>You got a &quot;That makes sense&quot; from sebas, and got some guidelines by me at the beginning :)<br>Anyway it&#39;s an OK from me, keep up the work!<div><div></div><div class="h5">
<br><br>Cheers<br clear="all"></div></div></div><br>-- <br>Alessandro Diaferia<br>KDE Developer<br>KDE e.V. member<br><br>