wepub

Check-in [2ba102d516]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use the relative version of the URL for recent book references
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:2ba102d51644cf112f434f4848607816c970bd014687eab847f926b0af41800d
User & Date: ajv-899-334-8894@vsta.org 2016-11-21 18:30:47
Context
2016-11-21
18:31
Permit saved locations for multiple chapters under a book check-in: 31f6f517d7 user: ajv-899-334-8894@vsta.org tags: master, trunk
18:30
Use the relative version of the URL for recent book references check-in: 2ba102d516 user: ajv-899-334-8894@vsta.org tags: master, trunk
14:03
Recently read list. Fix a dequoting API call. check-in: cfb00a34a5 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to get.py.

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
            tm = time.localtime(ftm)
            tms = time.strftime("%m/%d %H:%M", tm)

            # Add table entry
            res += ' <tr>\n'
            res += '  <td>%s</td>\n' % (tms,)
            res += '  <td><a href="%s">%s (%d)</a></td>\n' % \
                (f, title, secnum)
            res += ' </tr>\n'
        res += '</table>\n'

        return res

    # "/"; main UI
    def send_top(self):
	app = self.server
	webroot = app.approot
        buf = self.build_header("EPUB categories")







|


<







74
75
76
77
78
79
80
81
82
83

84
85
86
87
88
89
90
            tm = time.localtime(ftm)
            tms = time.strftime("%m/%d %H:%M", tm)

            # Add table entry
            res += ' <tr>\n'
            res += '  <td>%s</td>\n' % (tms,)
            res += '  <td><a href="%s">%s (%d)</a></td>\n' % \
                (url, title, secnum)
            res += ' </tr>\n'
        res += '</table>\n'

        return res

    # "/"; main UI
    def send_top(self):
	app = self.server
	webroot = app.approot
        buf = self.build_header("EPUB categories")