[pmwiki-users] Ability to email to a page

NYBANKER nybanker at gmail.com
Mon Sep 12 12:54:57 CDT 2005


How can i add the ability to email to a page on pmwiki.com<http://pmwiki.com>. 
Is there a hack for that.



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


More information about the pmwiki-users mailing list