Re: New KnowIt file format

Frank Osterfeld <[email protected]> Thu, 30 Mar 2006 13:40:15 +0200
Newsgroups gmane.comp.kde.knowit.user
Message-ID <[email protected]>
--nextPart1336619.ek6R4o1Xhp
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Micha=C5=82!

On Thursday 30 March 2006 13:08, Michal Rudolf wrote:
> Hello,
>
> Is anybody still here? I hope KnowIt is not dead. I am planning a partial
> rewrite. First goal is to design flexible and extensible XML format.

Nice to hear that!
I am still an avid user. If I should name the desktop apps I used most=20
frequently and continously over the last years, KMail, Psi and KnowIt
would be on the podium. ;-)

> So, I would like to ask those who are interested, what features will be
> necessary? Below are my first thoughts and additional questions:
>
> Supported per-note information:
> * body (I have to check how to encode HTML in XML, but I hope it is
> possible)=20

the cleanest way is to embed it as namespaced XHTML. If that is not an opti=
on=20
for some reason (as it could be cumbersome to convert the TextEdit HTML int=
o=20
proper XHTML), you can escape it by replacing <, ", & with &lt; &quot; &amp=
;.=20
Look at the Atom format [1] for examples for both. The latter should be=20
handled by QtXml automatically anyway.

> * icon (question: how to represent this information)=20
> * date of last modification (should it be optional)
> * open/closed status (for folders)
> * id (numeric note id)
> * attachments (links, pictures etc.)
>
> Any suggestions?


=2D creation date (I'd really like to have these dates always added by defa=
ult,=20
so you could sort notes in a timeline view by creation/modification date.=20
Also interesting for historic reasons ;-) ("wtf?? this is always three year=
s=20
ago?!?")
=2D tags (i.e., keywords). So you have an alternative to the folder hierarc=
hy=20
when linking together notes belonging to a topic.

[1] http://www.atomenabled.org/developers/syndication/#text

Regards,

=46rank


--nextPart1336619.ek6R4o1Xhp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBEK8OgFZrnbFOwfvQRAqPsAJ0TDllA2CCpLDzPSUdSHgsmGsURBgCgqWPb
2MqRud66N4RuwkMdygoYCeY=
=4CR1
-----END PGP SIGNATURE-----

--nextPart1336619.ek6R4o1Xhp--


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642