Kevin Ollivier | 10 Jun 2004 00:35
Picon
Favicon

[documancer] Working on ".book" file support

Hi all,

I've finally had a chance to get back to my little project of 
integrating Documancer and EClass, and I have made some progress. I've 
extended book.py so that it can save and load data to an XML-based 
config file. This allows me to successfully load an EClass into 
Documancer by passing the .book file into the command line. (As a side 
benefit, it could be used for import/export of configs, like when 
moving to a new computer.) At the moment, though, I'm seeing some 
issues with how Documancer handles URLs

I looked through the source to learn more about how Documancer handles 
URLs, but it was a bit like magic to me, so maybe I need a higher level 
explanation. ;-) Basically, it seems that Documancer wants to use a 
combination of a standard http URL with an absolute URL built in (i.e. 
http://localhost:port/book//C/Documents%20and%20Settings/...) However, 
whenever I click on one of these links, nothing happens (except I get a 
busy cursor), and I eventually get a message that there is no server on 
"localhost:<portnumber>". It loads the index page of my EClass, but 
doesn't load any images or linked pages (all are relatively linked). 
I'll keep digging around in the source, but any info on how and why 
Documancer parses URLs in the way it does would be greatly appreciated.

Any thoughts?

Thanks,

Kevin

-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org

Gmane