![]() |
#1 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
Adding new web page
whenever i try to add a new webpage with an href to the browse.html (i've added the file : test.html & test.js to the browse folder)
--------------------------------------------------------- i got this message : 404 Not Found The path '/test' was not found. Traceback (most recent call last): File "C:\Python25\Scripts\calibre\src\cherrypy\_cpreque st.py", line 606, in respond File "C:\Python25\Scripts\calibre\src\cherrypy\_cperror .py", line 227, in __call__ NotFound: (404, "The path '/test' was not found.") what should i modify in order to add the new page ? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to implement a route mapping for the page
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look at the add_routes() functions.
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Web Page To Mobi? | Jonnster | Kindle Formats | 5 | 05-23-2011 01:48 PM |
Adding metadata page (without reconversion)? | thrawn_aj | Calibre | 2 | 12-19-2010 08:06 AM |
web page source | Tulot | enTourage Archive | 3 | 12-18-2010 09:14 AM |
Adding a cover/front page | Lynk | Recipes | 3 | 10-03-2010 06:14 PM |
Adding web pictures to book | cheyennedonna | enTourage Archive | 0 | 05-06-2010 10:55 AM |