07-18-2011, 04:35 AM | #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 ? |
07-18-2011, 11:22 AM | #2 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to implement a route mapping for the page
|
Advert | |
|
07-18-2011, 02:59 PM | #3 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
|
07-18-2011, 04:00 PM | #4 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look at the add_routes() functions.
|
07-19-2011, 03:14 AM | #5 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
|
Advert | |
|
|
Similar Threads | ||||
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 |