Version 1 (modified by matobaa, 8 years ago) (diff)

New hack ArchiveViewerPlugin, created by matobaa

Browse contents in zipfile


Render contents list in a deflated attachment or repository.

When render-unsafe-contents = true in attachment section of trac.ini, HTML in the archive will display in your web-browser; relative-link may resolved in the zip file ... you can zip mocks of web-application and attach it to a ticket or wiki.

also you can use hash-link to specified line of code in the archive.

you can see contents in zip in zip. cf. manifest in lib/jar in war in ear.


trac.ini で [attachment] render-unsafe-contents = true を指定していると、 htmlをブラウザで開きます。このとき、html中の相対リンクをzipファイル内で解決できます。「Webアプリケーションの画面モックアップを HTML + CSS + JavaScript?とかで作って、zipパッケージにしてチケットに添付する」みたいな場面で便利なんじゃないかなー。




Bugs/Feature Requests

Existing bugs and feature requests for ArchiveViewerPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out ArchiveViewerPlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

17529 by matobaa on 2019-09-26 08:29:56
fix a bug; zip files on root of repo cannot extend
17527 by matobaa on 2019-09-26 03:18:32
ArchiveViewerPlugin: A link of zip uses a hash part
17509 by matobaa on 2019-09-23 16:40:53
ArchiveViewerPlugin: Porting from Genshi to Jinja2


Author: matobaa
Maintainer: matobaa

Attachments (5)

Download all attachments as: .zip