|
From: Christoph W. <sai...@ya...> - 2004-10-19 01:03:48
|
Hi, Martin wrote: > Am Di, den 19.10.2004 schrieb Christoph Walcher um 0:06: > >> I did some experiments how a xml file storing a couple of predefined >> Feeds should look like. Here's my proposal: > >> <!DOCTYPE dictionary> > > Other name please. Something which would not collide with other > applications: > - feed-list > - rssview-feeds > > or similar. Dictionary is perhaps not the right name <directory> would fit better. For name uniqueness we will use namespaces and no prefixes! >> <dictionary> >> <category name="news"> >> <feed >> title="orf.online" >> lang="de" >> url="rss.orf.at"> >> <description><![CDATA[News auf ORF.at]]></description> > > I'm missing my icon here and the specification FROM WHERE > it is going to be downloaded. Work for a minute :) As I said proposal/experiment. > Also missing "default folder". What's "default folder"? >> We'll need some kind of language key for useful dictionaries (example >> above). I created some Code to read this information. How should we >> present it? JTable, JTextPane, JScrollPane with panels? I think a >> flat hierarchy should work because a user will not want to import our >> categorizations (tree)? Or would he? > > Flat representation as a JList in a JScrollPane. Is not useful for displaying long text (e.g. description) - perhaps some detail field with an icon, description would be nice. ASCII Art example: Channel List Detail -------------------- --------------- |channel1 | | name | |channel2 | | description | |channel3 | | icon | |.... | | | | | | addButton | | | --------------- | | -------------------- Hope that outlook does not clutter my artwork :) Double-click could add of course. We would not need to load all(or a lot of them) icons but one! Then common feed icon sizes would be no problem (see icon scaling in our Folder tree). > Single item (JLabel with Icon): > -------------------------------------------- >> icon | channel name | > -------------------------------------------- > > Double-clicking it should suffice to add it > in the default folder. > > Icon size about 32x32 or 48x48. > Well, well! Cheers Christoph |