How can i add the ability to email to a page on <a href="http://pmwiki.com">pmwiki.com</a>. Is there a hack for that.<br><br><br><br><div><span class="gmail_quote">On 9/12/05, <b class="gmail_sendername"><a href="mailto:pmwiki-users-request@pmichaud.com">
pmwiki-users-request@pmichaud.com</a></b> <<a href="mailto:pmwiki-users-request@pmichaud.com">pmwiki-users-request@pmichaud.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send pmwiki-users mailing list submissions to<br> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">
http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:pmwiki-users-request@pmichaud.com">pmwiki-users-request@pmichaud.com</a>
<br><br>You can reach the person managing the list at<br> <a href="mailto:pmwiki-users-owner@pmichaud.com">pmwiki-users-owner@pmichaud.com</a><br><br>When replying, please edit your Subject line so it is more specific
<br>than "Re: Contents of pmwiki-users digest..."<br><br><br>Today's Topics:<br><br> 1. Re: farmconfig.php (Patrick R. Michaud)<br> 2. Re: missing translateable strings (Patrick R. Michaud)<br> 3. Re: Converting WikiStyle shortcuts to CSS classes
<br> (Patrick R. Michaud)<br> 4. Re: Re: Pmwiki emacs mode (<a href="mailto:chr@home.se">chr@home.se</a>)<br> 5. pmwiki-mode and browser (was: Pmwiki emacs mode) (<a href="mailto:chr@home.se">chr@home.se</a>)<br>
6. Faster searches and categories (Martin Fick)<br> 7. Re: Converting WikiStyle shortcuts to CSS classes (Russell Bailey)<br> 8. Re: Faster searches and categories (Patrick R. Michaud)<br> 9. Re: Converting WikiStyle shortcuts to CSS classes (Russell Bailey)
<br> 10. Re: Faster searches and categories (Martin Fick)<br> 11. Re: WikiStyles request (Dominique Faure)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 12 Sep 2005 10:21:28 -0500
<br>From: "Patrick R. Michaud" <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>><br>Subject: Re: [pmwiki-users] farmconfig.php<br>To: Pierre-Marie Carette <<a href="mailto:carette.pierre-marie@wanadoo.fr">
carette.pierre-marie@wanadoo.fr</a>><br>Cc: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:20050912152128.GE10976@host.pmichaud.com">20050912152128.GE10976@host.pmichaud.com
</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>On Mon, Sep 12, 2005 at 04:40:16PM +0200, Pierre-Marie Carette wrote:<br>> in the page PmWiki/WikiFarms you can read :<br>> "....A minimal farmconfig.php
file might look like this:<br>> <?php<br>> $FarmPubDirUrl = '<a href="http://www.example.com/pmwiki/pub">http://www.example.com/pmwiki/pub</a>';<br>> ?><br>> ..."<br><br>Fixed, thanks.
<br><br>Pm<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 12 Sep 2005 10:23:22 -0500<br>From: "Patrick R. Michaud" <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>>
<br>Subject: Re: [pmwiki-users] missing translateable strings<br>To: Karl Loncarek <<a href="mailto:dh2mll@web.de">dh2mll@web.de</a>><br>Cc: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
Message-ID: <<a href="mailto:20050912152322.GF10976@host.pmichaud.com">20050912152322.GF10976@host.pmichaud.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>On Mon, Sep 12, 2005 at 02:53:19PM +0000, Karl Loncarek wrote:
<br>> - for Markup (:varindex:) "Variable" and "Documented in"<br><br>Now fixed for the next release.<br><br>> Also for (:varindex:) the titles of the pages should be displayed instead<br>> of the links (or additionally)
<br><br>I'll have to think on this one -- feel free to enter it in PITS.<br><br>Pm<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 12 Sep 2005 10:42:27 -0500<br>From: "Patrick R. Michaud" <
<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>><br>Subject: Re: [pmwiki-users] Converting WikiStyle shortcuts to CSS<br> classes<br>To: Russell Bailey <<a href="mailto:russell-pmwiki@saberpunk.net">
russell-pmwiki@saberpunk.net</a>><br>Cc: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:20050912154227.GI10976@host.pmichaud.com">20050912154227.GI10976@host.pmichaud.com
</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>On Mon, Sep 12, 2005 at 12:54:35AM -0400, Russell Bailey wrote:<br>> In others, however,<br>> like WikiStyles, I'd really like to be able to show what the style
<br>> looks like, but also be able to convert it back to wiki markup by name<br>> rather than by properties.<br><br>What if we just stored the wikistyle source in a comment upon output?<br><br> %red% This is red text %% normal text
<br><br>becomes<br><br> <!--%red%--><span style='color:red'>This is red text <!--%%--></span><br> normal text<br><br>Then it'd be pretty easy to recover the wikistyle specification<br>that was entered at that point, while still allowing the HTML editing.
<br><br>Pm<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Mon, 12 Sep 2005 17:41:18 +0200<br>From: <a href="mailto:chr@home.se">chr@home.se</a><br>Subject: [pmwiki-users] Re: Re: Pmwiki emacs mode
<br>To: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:Pine.LNX.4.44.0509121734520.25602-100000@ludde.md.kth.se">Pine.LNX.4.44.0509121734520.25602-100000@ludde.md.kth.se
</a>><br>Content-Type: TEXT/PLAIN; charset=ISO-8859-1<br><br>On Mon, 12 Sep 2005, Milan Lukic wrote:<br><br>> > (if you aren't using the CVS version, let me know and I'll place a bigger<br>> > note about it on the donwload page)
<br>> ><br>><br>> I don't know if it is CVS or not, but I think not. I followed the<br>> links from the Cookbook page and I believe that I finally clicked on<br>> "download" rather than CVS. In any case, my
tar.gz file is<br>> pmwiki-mode-1.4-pre2.tar.gz.<br><br>Would you mind looking at the download section in cookbook page again?<br><br> <a href="http://www.pmwiki.org/wiki/Cookbook/EmacsPmWikiMode">http://www.pmwiki.org/wiki/Cookbook/EmacsPmWikiMode
</a><br><br>Is the text about using the CVS-version clear enough now? And is the link<br>for the CVS-version visible enough? I think you'll run into problems if<br>you use 1.4... with PmWiki 2.<br><br>> The /Main/HomePage was the key. I tried first
Main.HomePage (that is<br>> suggested in Emacs' minibuffer, and I tried to copy the address line<br>> from the browser ... I am pretty sure that I tried /Main/WikiSandbox,<br>> but I was probably missing pmwiki.php
in that case ...<br><br>If you're missing pmwiki.php, you can fix it so that it works. Requires a<br>minor setting in your .emacs though. Here's an excerpt from the changelog<br>"documenting" this feature...<br>
<br>Modified automatic handling of password protected pages.<br>Removed old variables and introduced a more generic transformation of the<br>URI. The new variable is called pmwiki-uri-transforms and is a list, where<br>each element represents a transformation. These transformations are
<br>applied in sequence.<br>Example of transformations<br><br><br>(set 'pmwiki-uri-transforms<br> (list<br> '("<a href="http://some.site.se\\(/[A-Z]\\|\\?\\)">http://some.site.se\\(/[A-Z]\\|\\?\\)</a>"<br>
"<a href="http://some.site.se">http://some.site.se</a>"<br>"<a href="http://some.site.se/wiki/pmwiki.php">http://some.site.se/wiki/pmwiki.php</a>")<br> '("<a href="http://some.site.se/">http://some.site.se/
</a>"<br>"<a href="http://some.site.se/">http://some.site.se/</a>"<br>"<a href="http://user:password@some.site.se/")))">http://user:password@some.site.se/")))</a><br><br>The first transformation allows you to use a site where pages are
<br>automatically redirected from <a href="http://some.site.se/Group/Page">http://some.site.se/Group/Page</a> to<br><a href="http://some.site.se/wiki/pmwiki.php/Group/Page">http://some.site.se/wiki/pmwiki.php/Group/Page</a>
.<br>The second transformation inserts user:password into the URI when the URI<br>starts with <a href="http://some.site.se">http://some.site.se</a>. This implies that you use the samme<br>username/password for all wikis on that site.
<br><br>/Christian<br><br>--<br>Christian Ridderström, +46-8-768 39 44 <a href="http://www.md.kth.se/~chr">http://www.md.kth.se/~chr</a><br><br><br><br><br><br>------------------------------<br><br>Message: 5
<br>Date: Mon, 12 Sep 2005 17:42:48 +0200<br>From: <a href="mailto:chr@home.se">chr@home.se</a><br>Subject: [pmwiki-users] pmwiki-mode and browser (was: Pmwiki emacs<br> mode)<br>To: <a href="mailto:pmwiki-users@pmichaud.com">
pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:Pine.LNX.4.44.0509121741200.25602-100000@ludde.md.kth.se">Pine.LNX.4.44.0509121741200.25602-100000@ludde.md.kth.se</a>><br>Content-Type: TEXT/PLAIN; charset=ISO-8859-1
<br><br>On Mon, 12 Sep 2005, Milan Lukic wrote:<br><br>> If I may ask another question. I see that "C-C C-B" starts Netscape, is<br>> there a way to play with other browsers as well (I have about 4 of them
<br>> on that computer)?<br><br>Sure, but it's an Emacs setting. Look at the Emacs help for `browse-url' -<br>all pmwiki-mode does is call that function.<br><br>/Christian<br><br>--<br>Christian Ridderström, +46-8-768 39 44
<a href="http://www.md.kth.se/~chr">http://www.md.kth.se/~chr</a><br><br><br><br><br><br>------------------------------<br><br>Message: 6<br>Date: Mon, 12 Sep 2005 12:07:50 -0400<br>From: Martin Fick <<a href="mailto:fick@fgm.com">
fick@fgm.com</a>><br>Subject: [pmwiki-users] Faster searches and categories<br>To: PmWiki <<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>><br>Message-ID: <<a href="mailto:20050912160750.GF13612@carrera.fgm.com">
20050912160750.GF13612@carrera.fgm.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>I have added a recipe for faster searches and categories:<br><a href="http://www.pmwiki.org/wiki/Cookbook/FastSearch">http://www.pmwiki.org/wiki/Cookbook/FastSearch
</a><br><br>This recipe uses find and grep and so may not be very<br>portable (to windows).<br><br>I know that pm and a few others are working on an indexed<br>mechanism to speed up backlinks (categories), but my<br>solution is so simple and fast, that I thought I had to
<br>share it. Without it categories and searching is unusable<br>on my site. I have an old Pentium 200 and over 1000 files.<br>A typical search will go from around 30 seconds to about 3<br>seconds now.<br><br>In the past I have offered similar solutions to the list to
<br>speed up categories, but this one is even simpler and also<br>speeds up searches.<br><br>Feedback welcome,<br><br>-Martin<br><br><br><br><br><br>------------------------------<br><br>Message: 7<br>Date: Mon, 12 Sep 2005 12:09:13 -0400
<br>From: Russell Bailey <<a href="mailto:russell-pmwiki@saberpunk.net">russell-pmwiki@saberpunk.net</a>><br>Subject: [pmwiki-users] Re: Converting WikiStyle shortcuts to CSS<br> classes<br>To: "Patrick R. Michaud" <
<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>>,<br> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:4325A829.4010800@saberpunk.net">4325A829.4010800@saberpunk.net
</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Patrick R. Michaud wrote:<br><br>>What you probably want to be doing is changing %right red% into<br>>something like %class='right red'%, which loads in both CSS classes
<br>>in a single element. But I think this may still run into a few issues...<br>><br>Sorry, I was being dense. ;) So far, inheriting from multiple<br>classes works fine. I'll have to do a more detailed test later today.
<br><br><br><br>------------------------------<br><br>Message: 8<br>Date: Mon, 12 Sep 2005 11:18:34 -0500<br>From: "Patrick R. Michaud" <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>><br>Subject: Re: [pmwiki-users] Faster searches and categories
<br>To: Martin Fick <<a href="mailto:fick@fgm.com">fick@fgm.com</a>><br>Cc: PmWiki <<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>><br>Message-ID: <<a href="mailto:20050912161834.GL10976@host.pmichaud.com">
20050912161834.GL10976@host.pmichaud.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>On Mon, Sep 12, 2005 at 12:07:50PM -0400, Martin Fick wrote:<br>> I know that pm and a few others are working on an indexed
<br>> mechanism to speed up backlinks (categories), but my<br>> solution is so simple and fast, that I thought I had to<br>> share it.<br><br>Just for completeness: fast category and backlink indexes<br>are enabled by default in
2.0.5.<br><br>Arbitrary searches are still slow, but we might be able to<br>merge in some of the grep-based search ideas for this as well.<br><br>Pm<br><br><br><br>------------------------------<br><br>Message: 9<br>Date: Mon, 12 Sep 2005 12:39:32 -0400
<br>From: Russell Bailey <<a href="mailto:russell-pmwiki@saberpunk.net">russell-pmwiki@saberpunk.net</a>><br>Subject: Re: [pmwiki-users] Converting WikiStyle shortcuts to CSS<br> classes<br>To: "Patrick R. Michaud" <
<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>>,<br> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:4325AF44.8020905@saberpunk.net">4325AF44.8020905@saberpunk.net
</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Patrick R. Michaud wrote:<br><br>>On Mon, Sep 12, 2005 at 12:54:35AM -0400, Russell Bailey wrote:<br>><br>><br>>>In others, however,
<br>>>like WikiStyles, I'd really like to be able to show what the style<br>>>looks like, but also be able to convert it back to wiki markup by name<br>>>rather than by properties.<br>>><br>>>
<br>><br>>What if we just stored the wikistyle source in a comment upon output?<br>><br>> %red% This is red text %% normal text<br>><br>>becomes<br>><br>> <!--%red%--><span style='color:red'>This is red text <!--%%--></span>
<br>> normal text<br>><br>>Then it'd be pretty easy to recover the wikistyle specification<br>>that was entered at that point, while still allowing the HTML editing.<br>><br>><br>That would work. However, if I can practically implement it, I think
<br>I'd prefer to go with two-way conversion between WikiStyle shortcuts and<br>classes. Personally, I like the idea of retaining as much of the<br>semantics of the original document in the HTML as possible. In<br>practice, we're not just going to be dealing with effects like %red%-
<br>custom wikistyles are often things like %audience%, which may have<br>meaning to a user or program looking at the page.<br><br>Russell<br><br><br><br>------------------------------<br><br>Message: 10<br>Date: Mon, 12 Sep 2005 12:31:12 -0400
<br>From: Martin Fick <<a href="mailto:fick@fgm.com">fick@fgm.com</a>><br>Subject: Re: [pmwiki-users] Faster searches and categories<br>To: "Patrick R. Michaud" <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com
</a>><br>Message-ID: <<a href="mailto:20050912163112.GG13612@carrera.fgm.com">20050912163112.GG13612@carrera.fgm.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>On Mon, Sep 12, 2005 at 11:18:34AM -0500, Patrick R. Michaud wrote:
<br>> On Mon, Sep 12, 2005 at 12:07:50PM -0400, Martin Fick wrote:<br>> > I know that pm and a few others are working on an indexed<br>> > mechanism to speed up backlinks (categories), but my<br>> > solution is so simple and fast, that I thought I had to
<br>> > share it.<br>><br>> Just for completeness: fast category and backlink indexes<br>> are enabled by default in 2.0.5.<br><br>I have not tried this yet so I am just guessing, but here<br>are some thoughts: the indexes will speed up sebsequent
<br>uses of the indexes, but it still seems like creating the<br>indexes may take an extreme amount of time at some point.<br>On larger sites with slower machines even a single index<br>creation could timeout the apache session (I think the
<br>default is 30 seconds on debian). I could be wrong, but I<br>don't see anyway around this using indexes.<br><br><br><br>> Arbitrary searches are still slow, but we might be able to<br>> merge in some of the grep-based search ideas for this as well.
<br><br><br>As you have mentioned in that past, it would probably be<br>best to add a search mechanism directly to the pagestore.<br>This could even be done with the current pagelist search<br>mechanism.<br><br><br>-Martin
<br><br><br><br>------------------------------<br><br>Message: 11<br>Date: Mon, 12 Sep 2005 18:52:14 +0200<br>From: "Dominique Faure" <<a href="mailto:dominique.faure.1@free.fr">dominique.faure.1@free.fr</a>>
<br>Subject: Re: [pmwiki-users] WikiStyles request<br>To: "Patrick R. Michaud" <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>><br>Cc: <a href="mailto:Pmwiki-users@pmichaud.com">Pmwiki-users@pmichaud.com
</a><br>Message-ID: <003a01c5b7ba$5433fb20$2a00a8c0@dombox><br>Content-Type: text/plain; format=flowed; charset="iso-8859-1";<br> reply-type=original<br><br>At Sunday, September 11, 2005 3:02 PM [GMT+1=CET], Patrick R. Michaud wrote:
<br><br>> On Sun, Sep 11, 2005 at 11:50:34AM +0200, Dominique Faure wrote:<br>>> A previous mailing-list topic about two-column definition lists lead to<br>>> the following style definition:<br>>><br>
>> $HTMLStylesFmt['columnlist'] = "<br>>> dl.dlcol dt { float:left; padding-right:0.5em;}<br>>> dl.dlcol dd { margin-left:13em; }\n";<br>>><br>>> $WikiStyle['dlcol']['apply'] = 'list';
<br>>> $WikiStyle['dlcol']['class'] = 'dlcol';<br>>><br>><br>> That would be either<br>><br>> %define=dw dlcol margin-left:-8em%<br>> :05/06/01:%dw% Initial release.<br>> :05/06/03:Handling of forgotten @@?action=print@@ and minor tweaks.
<br>><br>> or<br>><br>> %define=dw margin-left:-8em%<br>> :05/06/01:%dlcol dw% Initial release.<br>> :05/06/03:Handling of forgotten @@?action=print@@ and minor tweaks.<br>><br>>> I was wondering how I could have a kind of parametrized style definition
<br>>> which could provide help in such cases. Something like:<br>>> ...<br>>> which could be used as:<br>>><br>>>> 05/06/01:%dlcol param['margin']:5em% Initial release.<br>>>> 05/06/03: Handling of forgotten @@?action=print@@ and minor tweaks.
<br>><br>> :05/06/01:%dlcol margin-left:5em% Initial release.<br>> :05/06/03: Handling of forgotten @@?action=print@@ and minor tweaks.<br>><br>> Pm<br><br>Sorry but this doesn't work as expected:<br>
<br> :term: %dlcol% ...<br> <dl class='dlcol' ><dt>term</dt><dd> ...<br><br> :term: %dlcol margin-left:5em%<br> <dl class='dlcol' style='margin-left: 5em;' ><dt>term</dt><dd> ...
<br><br> :term: %dlcol%%margin-left:5em% ...<br> <dl class='dlcol' ><dt>term</dt><dd> <span style='margin-left: 5em;' ><br>...</span><br><br>I've found a working solution adding the new style application range:
<br><br> $WikiStyleApply['descr'] = 'dd';<br> $WikiStyle['descr']['apply'] = 'descr';<br><br> :term: %dlcol%%descr margin-left:5em% ...<br> <dl class='dlcol' ><dt>term</dt><dd style='margin-left: 5em;' > ...
<br><br>Could we have something equivalent defined on <a href="http://www.pmwiki.org">www.pmwiki.org</a>?<br>(even, if I would have enjoyed syntaxic sugars like<br>%dlcol(margin-left:4em)%...)<br><br><br>BTW, following shouldn't '
wikistyles.php' code loop below:<br><br> ## apply ranges<br> SDVA($WikiStyleApply,array(<br> 'item' => 'li|dt',<br> 'list' => 'ul|ol|dl',<br> 'div' => 'div',<br> 'img' => 'img',<br> 'block' => 'p(?!\\sclass=)|div|ul|ol|dl|li|dt|pre|h[1-6]',
<br> 'p' => 'p(?!\\sclass=)'));<br> foreach(array('item', 'list', 'block', 'p', 'div') as $c)<br> SDV($WikiStyle[$c],array('apply'=>$c));<br><br>be more something like below?<br><br> ...<br> foreach(array_keys($WikiStyleApply) as $c)
<br> SDV($WikiStyle[$c],array('apply'=>$c));<br><br>One last (sorry to bother), couldn't the wiki styles implementation be<br>improved using the ParseArg function?<br><br>Regards,<br>Dom<br><br><br><br><br>------------------------------
<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">
http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br><br>End of pmwiki-users Digest, Vol 3, Issue 50<br>*******************************************<br></blockquote></div><br>