Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » How can I get the OPML file?
How can I get the OPML file? [message #15599] Thu, 24 April 2008 00:46 Go to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
I want to get the OPML of a resolution as a file. I understand that I
can write it out to any file, but I think the OPML is already stored in
a file somewhere. I need this file to be able to pass it on to a
bookmark importer funcion.

Is it possible to get this file? Or do I have to write it out to a tmp
file before importing and then deleting the tmp file?

Regards
- henrik
Re: How can I get the OPML file? [message #15693 is a reply to message #15599] Thu, 24 April 2008 06:39 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Henrik,
Given that the OPML file is sometimes generated from meta-data that is external to the component
(i.e. a POM file in a Maven repo or an IU in a p2), you cannot rely on that the OPML is present in
the component so the only file that exists is the one that the Buckminster meta-data manager is
caching internally. For several reasons, I'd like to view this meta-data cache as a black-box. One
reason is that we have had thoughts of moving it into some kind of SQL or OODB storage. Another is
that while the file is XML based today, there are ways to make a SAX ContentHandler produce
something that is a lot quicker and more compact then XML.

I think the best approach is to use a temp file unless there is some way to use a stream directly.

Regards,
Thomas Hallgren


Henrik Lindberg wrote:
> Hi,
> I want to get the OPML of a resolution as a file. I understand that I
> can write it out to any file, but I think the OPML is already stored in
> a file somewhere. I need this file to be able to pass it on to a
> bookmark importer funcion.
>
> Is it possible to get this file? Or do I have to write it out to a tmp
> file before importing and then deleting the tmp file?
>
> Regards
> - henrik
Re: How can I get the OPML file? [message #16887 is a reply to message #15693] Fri, 25 April 2008 09:50 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> I think the best approach is to use a temp file unless there is some way
> to use a stream directly.
>
Turns out that I can use a different approach. I talked with the rssowl
guys and I should be able to use their data layer api directly instead.
Basically copy their OPML import, but read from our OPML instances
instead of giving the rssowl the URI to the OPML file.

This also makes it possible for me to keep the folder in rssowl in sync.

- henrik
Previous Topic:why no navigation to parent in OPML
Next Topic:How can I see if Resolution is from WS or TP?
Goto Forum:
  


Current Time: Thu Apr 25 04:53:05 GMT 2024

Powered by FUDForum. Page generated in 0.03118 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top