Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 17 Oct 2019, 12:26
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Notecase - Programming Change -help
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message

Joined: 11 Apr 2007
Posts: 935

PostPosted: Sat 31 Jul 2010, 11:35    Post subject:  Notecase - Programming Change -help
Subject description: html#SECTION links for files not working

Good Morning,

I used Notecase somewhat in early versions and gave it up because the puppy version url linking didn't work.
By linking the hierarchal structuring of Notecase to individual information sections in internal and external Html files, a powerful information manager can be formed.

Then I started playing around with Html and Javascript to make my own hyperlink sort of notebook, but this isn't as good.

Recently, I thought I'd try out Notecase again (1.9.8 latest version in Puppy) and found that the early linking problems had been fixed except for linking internal html#sections.

I emailed the Notecase author Miroslav Rajcic the following -

If I hyperlink to some outside url(http//somewhere.com/afile.html#SECTION) it WORKS.
If I download and save that same file url (file//somewhere.com/afile.html#SECTION) it FAILS - as does any other link to an internal file containing #SECTION at the end.

However, (file//somewhere.com/afile.html) - without the #SECTION part --WORKS

If it's a file internally stored it apparently can't deal with the #SECTION piece of the call.

and Miroslav Rajcic very kindly replied -


unfortunately, AFAIK this is not supported.
When opening "http://"-type hyperlink, program finds the default application and sends the URL to be executed within that application. "#section" part is a legal part of the URL and browser itself knows how to handle this.

When doing the local type URL, Notecase calls the same API to get the default application that opens the specified file. Depending on the compile options, program uses either GnomeVFS or GIO library to get the detault application. This API probably fails if you pass the path of the local file that has the "#SECTION" appended.

Note that this could be implemented with additional code that strips the section when finding the default application, and then appends it back when actually executing the link. The relevant code can be found in "src/_unx/ExecuteFile.cpp" file in the source code archive.

Unfortunately I have stopped working on the free version almost two years ago.


I'm wondering if the forum has a talented C programmer who could implement a fix to the source code and recompile, as this is way beyond my meager abilities to attempt.

The source code can be found here-


Thanks to anyone willing to give it a try.

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0274s ][ Queries: 11 (0.0056s) ][ GZIP on ]