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

List:       kde-edu-devel
Subject:    Re: [kde-edu]: LinuxTag::Wikepedia
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-06-26 10:49:49
Message-ID: 200506261249.53786.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 26 June 2005 12:26, Carsten Niehaus wrote:

> What do we need from kdelibs API-wise? Tobias, Elian and I had a discussion
> and pretty much agreed on this API:
>
> * validate if an article exists
>   -- bool articleExists( const QString& articlename )
>
> * return an article (wiketext, xml or html) which I request
>   /**
>   * @param articlename the name of the article
>   * @param type defines if this returned string is in XML,
>     Wikitext or html
>   */
>   -- QString getArticle( const QString& articlename, DocumentType type )

Maybe a method to ask which DocumentTypes are available for a given existing 
article?
I can imagine that there are situation where one would prefer one type but 
could also extract at least a subset of the information form others.

> * return the users who modified an article. This is needed because the
>   GNU-FDL requires that you name all contributors of an article. I suggest
>   that we don't display them in a text but have "Author"-Buttons.
>   -- QString articleAuthors( const QString& articlename )

Maybe using QValueList<KAboutPerson> as the return value type?

Cheers,
Kevin

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


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

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