[Digikam-devel] [Bug 111462] New: Exporting multiple "tag" albums in HTML produces invalid hyperlinks on main webpage

ben.m.gunn at gmail.com ben.m.gunn at gmail.com
Thu Aug 25 04:43:15 BST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=111462         
           Summary: Exporting multiple "tag" albums in HTML produces invalid
                    hyperlinks on main webpage
           Product: digikam
           Version: 0.7.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: ben.m.gunn gmail com


Version:           0.7.2 (using KDE 3.4.0 Level "b" , SUSE 9.3)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.8-default

Problem occurs when using export html function on tags.  The problem only occurs if one is trying to selected multiple "tag" albums.

For example: I want to create a web gallery based on multiple tag selections.  From the album selection window I select "tag: Birds", "tag: Dog", and "tag: Fish".  After the images and HTML documents have been created the konquerer browser is loaded up and shows the main page which links to the sub-pages coresponding to each album.  Both the images and links to the sub-pages are invalid.  When one clicks on the link the browser responds by saying that "Protocol not supported tag". Inspection of the mainpage source code shows that images and links start with "tag: " (e.g. "Tag: Birds/index.html").  Inspection of the filesystem shows that the hyperlinks are logically correct , as the relevant files are stored on the harddisk in directories called "tag: Birds".  However it appears that Konquerer does not accept this kind of snytax. This problem only occurs on the main page.  Subsequent sub-pages (e.g. the "Bird" page) can be individually displayed without any problems.

I have a work around for this problem.  After exporting the HTML, I first change the name of all subdirectories in the webpage root directory by removing the "tag: " prefix (e.g. I change dir "tag: Birds/" to "Birds/").  I then do a search and replace on the source code for the image gallery main page in which I remove the prefix "tag: " from all <img> and <a> tags.  After this has been done, the main page will function correctly.

Additional info:  I have also tested the digikam generated main page (without implementing any work arounds) with firefox.  When clicking on a link, Firefox responds by saying "tag is not a registered protocol".



More information about the Digikam-devel mailing list