Re: MhonArc/PHP

2002-06-28 15:30:04
On June 26, 2002 at 08:46, "Edward Wildgoose" wrote:

ie if you want to create links of the form

We had a chat about it and you said that most of the link could be
but the "?" bit caused a problem?

To be more specific, I think it had to do with links to attachments
since all other links can be adjusted to what you like via the resources.
I'm not sure what is the cleanest way to allow customization of
attachment links since they are controled by the mimefilters.

OK, I will have another look at this again.  Seems as thought my partial
change of basehref is causing problems on browsers other than MSIE.
Ignoring uploads of files would not be a huge problem for this project, so I
can work around that, and being able to put "pages" of articles would be

If you were still thinking about extending mhonarc to add the ability to
completely inline the message body in the index (the way it is done here),
then this would be very cool.  I appreciate that you have added enough
capability to "hack" it now, but it would be terrific if it were "native" so
to speak.

For your reference the "live" version is now running at
and click on the link "users diaries".  Just in case you want to refer
people to another real life use of mhonarc looking very different to
standard? (thanks for your help with this)

Also, for various reasons it turns out to be useful to change "basehref"
before including the mhonarc page, and then resetting it afterwards.
However, this seems to go wrong in Mozilla 1.0 on windows.  I will
submit a
bug report if it doesn't get fixed soon, but at least everything works
on IE.

I think it is not a bug in Mozilla since <base href> can only occur
in the <head> element.  IE is probably doing a blind base switch each time
it sees the <base href> tag.  This is non-standard behavior, and in some
cases, could be considered a major problem (like cross-scripting
vulnerabilities with web-based email services).

To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>