kbfx-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[kbfx-devel] Re: TOM - Sample XML reader...!


From: Siraj Razick
Subject: [kbfx-devel] Re: TOM - Sample XML reader...!
Date: Thu, 2 Aug 2007 07:18:34 +0530
User-agent: KMail/1.9.4

On Thursday 02 August 2007 00:55, Lahiru Lakmal Priyadarshana wrote:
> Hi,
>
> I have attached a sample XML reader for TOM herewith.
> Please check it out and let me know your feedbacks.. :)
>
> I'll merge this with the tom-plugin and send the working code soon.
> Meantime I'll be coding an XML writer.. to edit TOMs..
>
> Thanks,
> - Lahiru.

on the xml 
<item>
                                <program>/usr/bin/firefox.sh</program>
                                <name>Firefox</name>
                                <desc>
                                        <locale type='en'>Surf the Web</locale>
                                        <!--<locale type='de'>Surfen Sie im 
Internet</locale>-->
                                </desc>
                        </item>

that segment can be replaced by a ref to a .desktop file for example 
firefox.desktop. 
1.) this way we don't have to maintain the translations 
2.) we don't need to specify the commands manually 
3.) keep the xml small and simple
4.) we need many paraments : icon / path/ run on console  ... many other 
stuff. so better to switch to xml  + .desktop format


-- 
Siraj Razick (KDE Developer) (address@hidden)
ID: 0x0FF4B757
Fingerprint: 
DDD9 8514 E2F6 4F73 019C 55F8 D69C 01D6 0FF4 B757.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]