2012/9/17 Richard Hipp <[email protected]>:
>
> On Mon, Sep 17, 2012 at 8:37 AM, Ephrim Khong <[email protected]> wrote:
>> I'm using fossil as distributed wiki (sort of a note management
>> system). However, when adding non-wiki content (images, PDFs etc.), a
>> checkout is required where the files are copied into and checked in,
>> so they are available in the wiki using the /doc/tip/xxx URIs. This is
>> fine with local copies of the repository, but is cumbersome when
>> working on a server.
>
> Can you instead add your images/PDFs/etc as attachments and reference them
> using /attachview?

Yes, thank you! Attaching files is something I didn't know exists.
After some playing around, /attachdownload seems to be perfect. A new
wiki page, "Uploads", will hold all files and "up?XXX" will be
remapped to "attachdownload?page=Uploads&file=XXX", which is a very
convenient solution.

Thanks
Eph
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to