Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > Sunrise

Notices

 
 
Thread Tools Search this Thread
Old 05-20-2005, 08:58 PM   #1
mutsuenmei
Junior Member
mutsuenmei began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2005
Device: e2
sunrise parser issue?

Hi,

I'm not definate but I think sunrise parser is not detecting
the link syntax of the following

localhost/tcm/formula/shihuisan.html#ai

the #ai seem to be missing after the parsing...

this is for the link to this anchor.

<a name="ai"></a>

Let me know if that is the case?

Mutsu
mutsuenmei is offline  
Old 05-21-2005, 04:50 AM   #2
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
It's not possible to use anchors in starting links.
Laurens is offline  
Advert
Old 05-21-2005, 11:20 AM   #3
mutsuenmei
Junior Member
mutsuenmei began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2005
Device: e2
Quote:
Originally Posted by Laurens
It's not possible to use anchors in starting links.
Hi, I'm not sure what you mean since I'm just a novice but,

I'm using these anchors to link text within the same page.

Mozilla works with it and iSillox/iSilo demo works too.
So I'm not sure what up since Plucker/Sunrise does not like it.

Maybe I wasn't clear with my issue...

within the html file of shihuisan.html page:

http://localhost/tcm/formula/shihuisan.html#ai>go_to_text

<a name="ai"><a>
text data

Plucker complains the shuhuisan.html file is not downloaded with a path of
http://localhost/tcm/formula/shihuisan.html

the #ai is not reconized?

thanks,
Mutsu

Last edited by mutsuenmei; 05-21-2005 at 11:26 AM.
mutsuenmei is offline  
Old 05-21-2005, 09:40 PM   #4
taylor
Enthusiast
taylor began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Sep 2004
Device: T|T3
Yes. Laurens is saying that you can't use # symbols in the URL.
taylor is offline  
Old 05-22-2005, 02:07 PM   #5
hacker
Technology Mercenary
hacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with others
 
hacker's Avatar
 
Posts: 617
Karma: 2561
Join Date: Feb 2003
Location: East Lyme, CT
Device: Direct Neural Implant
A couple of points:

  1. The link to http://www.example.com/bar.html and http://www.example.com/bar.html#foo are getting you the exact same resource... bar.html.
  2. Your use of the fragment syntax is wrong. You want something like <a name="ai">AI</a>, not an empty anchor. More-correct would be something like <p name="ai">This is my paragraph describing ai and whatever else.</p>
  3. I don't think Sunrise can start a fetch at a fragment like that (a limitation in Sunrise, though it should convert a request for bar.html#foo to a request for bar.html, and then begin the page at fragment 'foo' from there, but its not my tool, so I can't guide that feature.
  4. You might consider using valid HTML in your pages, it will make life much simpler.
hacker is offline  
Advert
Old 05-23-2005, 01:56 AM   #6
mutsuenmei
Junior Member
mutsuenmei began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2005
Device: e2
Hi, thank for the replies,

My bad, didn't set the link depth so that is why I got the errors...I though it was automatic?

Regarding the html syntax, I think it is valid to use an empty anchor, ie it doesn't have to appear on the actual webpage.

After setting the link depth the html fragment works great!

btw, after using Sunrise for the last few day..I think it's pretty sweet!!

thanks
Mutsu

Last edited by mutsuenmei; 05-23-2005 at 01:59 AM.
mutsuenmei is offline  
 


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sunrise .42j or SunriseXP? evwool Reading and Management 3 05-15-2009 09:35 AM
Parser can't identify form used for user/pass Solari Calibre 3 03-01-2009 07:04 PM
sunrise & plucker birol Introduce Yourself 2 02-19-2009 06:21 AM
Where is the Sunrise showcase? AceHarddrive Reading and Management 2 12-16-2006 05:21 AM
Help with installing Plucker and Sunrise Ros Peace Reading and Management 5 02-13-2005 06:50 AM


All times are GMT -4. The time now is 10:09 AM.


MobileRead.com is a privately owned, operated and funded community.