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

List:       kde-devel
Subject:    konqueror architecture [was: KGet imported to the CVS]
From:       rupert THURNER <rthurner () edu ! uni-klu ! ac ! at>
Date:       1999-02-14 14:53:22
[Download RAW message or body]

ad parsing the html-source, and parts:

recently, i fell over a book from simon st. laurent (xml: a primer),
where he describes also how browsers could broken down into parts (for
some details you may want to look at
http://edusrv.edu.uni-klu.ac.at/~rthurner/kdearch/), and it seems to me
kfm has such an architecture. but what i'm unclear of is parsing source
documents (be it html, or xml). how this is currently handled in
kfm/konqueror/koffice?

rupert.


David Faure wrote:
> 
> On Sun, Feb 14, 1999 at 12:00:57PM +0100, Matt Koss wrote:
> > On So, 13 feb 1999, David Faure wrote:
> > >
> > >> Regarding the saving of images, I would even take it one step further.  When a user
> > >> asks to save, there should be an option box on the "Save" dialog that allows to
> > >> user to pull all the images from this web page as well.  I have spoken to many
> > >> users and this is actually what they expect when they save the page ( save
> > >> everything they see ...)  One possible obstacle for this feature is that many
> > >> images on web pages are linked with a relative path.  So saving them would either
> > >> require creating the relative paths or modifying the html <IMG SRC= ...> info to
> > >> reflect the new address.  Maybe this is too much, but I think it is worth
> > >> investigating.
> > >This is exactly what kget does already. Hence the discussion about adding a
> > >"copy (kget)" - or something clearer - so that copying gets the images too.
> > >But you're right, saving the page should allow to do that too.
> >
> > Nope, kget does not do it yet, sorry.
> > I even don't thinkthat I am ging to implement this thing in kget.
> >
> > I mean, IMO it's more suitable to put this into kfm. When user chooses Save
> > document source, there would be an option to save it with images.
> > Otherwise, kget would have to parse the html source to check for images etc.
> 
> Ah - I thought it did it (as e.g. wget does).
> 
> I don't think it's a good idea to put it in kfm/konqueror, because there
> should be a KDE utility that does what wget does : recursive retrieval of a
> Web site. kfm "Save page" will only try to save the current page, not the
> whole site - it's not kfm purpose I think.
> If kget doesn't do it, then I guess somebody will make another
> tool that implement that as well. So it would be better in a library than
> in kfm/konqueror itself.
> 
> Anybody wants to start a wget wrapper for KDE ?
> 
> (if possible with a Corba interface, so that kfm/konqueror can use it for its
> "Save as" option :) )

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

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