[pmwiki-users] unsubscribe

*** Dave Hill dave at hill-kleerup.org
Thu Nov 2 07:16:11 CST 2006


On 11/2/06, 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://www.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. HTMLHeaderFmt in local/GroupSpecific.php (Chris Cox)
>    2. Re: HTMLHeaderFmt in local/GroupSpecific.php (Patrick R. Michaud)
>    3. Re: HTMLHeaderFmt in local/GroupSpecific.php (Chris Cox)
>    4. Re: Problems with ZAPdata (The Editor)
>    5. Making some text stand out in a box (Jan Erik Mostr?m)
>    6. Re: Making some text stand out in a box (Jan Erik Mostr?m)
>    7. Re: includeurl and/or includesite do not work with        php5
>       (DrFredC.com)
>    8. Re: Making some text stand out in a box (Thomas -Balu- Walter)
>    9. WordCount Recipe (kirpi at kirpi.it)
>   10. Division by zero on Site.Search (Carlos A. Bonamigo)
>   11. Re: Division by zero on Site.Search (dso)
>   12. Re: wiki to html (Jan Hegewald)
>   13. Re: Making some text stand out in a box (Jan Erik Mostr?m)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 01 Nov 2006 14:29:00 -0600
> From: Chris Cox <ccox at airmail.net>
> Subject: [pmwiki-users] HTMLHeaderFmt in local/GroupSpecific.php
> To: PMWiki <pmwiki-users at pmichaud.com>
> Message-ID: <4549038C.2070602 at airmail.net>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I have a few PmWiki sites I maintain.  The oldest one, which is
> now running 2.1.26, has a group specific php file called
> AllBlogs.php in which I set:
>
> $HTMLHeaderFmt['rsslink1'] =
>     "<link rel='alternate' title='Labs Blogs $[RSS Feed]'
>
>
> href='/pmwiki/pmwiki.php/Site/AllRecentChanges?group=BP-*&list=normal&action=rss'
>       type='application/rss+xml' />\n  ";
>
> This works fine... in firefox I get the RSS feed icon on the URL line
> and can add a live bookmark.
>
> However, on another site I tried repeating the exact same procedure...
> that site is running 2.1.24 and it doesn't work, I get an error message
> on the page load:
>
> $HTMLHeaderFmt['rsslink1'] = "\n ";
> Warning: Cannot modify header information - headers already sent by
> (output started at /home/ntlug/pmwiki/local/AllBlogs.php:2) in
> /home/ntlug/pmwiki/pmwiki.php on line 885
>
> Any hints??  I think I understand the error message to realize that
> the head information has likely been closed... but I guess I'm
> confused about why the difference.  It wasn't obvious looking
> at the skin template files on each site, the top matter is pretty
> much the same...
>
> I appreciate in help in tracking things down...
>
> Thanks,
> Chris
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 1 Nov 2006 14:42:22 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] HTMLHeaderFmt in local/GroupSpecific.php
> To: Chris Cox <ccox at airmail.net>
> Cc: PMWiki <pmwiki-users at pmichaud.com>
> Message-ID: <20061101204222.GC14325 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Nov 01, 2006 at 02:29:00PM -0600, Chris Cox wrote:
> > However, on another site I tried repeating the exact same procedure...
> > that site is running 2.1.24 and it doesn't work, I get an error message
> > on the page load:
> >
> > $HTMLHeaderFmt['rsslink1'] = "\n ";
> > Warning: Cannot modify header information - headers already sent by
> > (output started at /home/ntlug/pmwiki/local/AllBlogs.php:2) in
> > /home/ntlug/pmwiki/pmwiki.php on line 885
>
> It looks to me as though local/AllBlogs.php is missing the
> starting <?php tag.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 01 Nov 2006 15:05:28 -0600
> From: Chris Cox <ccox at airmail.net>
> Subject: Re: [pmwiki-users] HTMLHeaderFmt in local/GroupSpecific.php
> To: PMWiki <pmwiki-users at pmichaud.com>
> Message-ID: <45490C18.7000008 at airmail.net>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Patrick R. Michaud wrote:
> > On Wed, Nov 01, 2006 at 02:29:00PM -0600, Chris Cox wrote:
> >> However, on another site I tried repeating the exact same procedure...
> >> that site is running 2.1.24 and it doesn't work, I get an error message
> >> on the page load:
> >>
> >> $HTMLHeaderFmt['rsslink1'] = "\n ";
> >> Warning: Cannot modify header information - headers already sent by
> >> (output started at /home/ntlug/pmwiki/local/AllBlogs.php:2) in
> >> /home/ntlug/pmwiki/pmwiki.php on line 885
> >
> > It looks to me as though local/AllBlogs.php is missing the
> > starting <?php tag.
>
> You know... as easy as that was... sure made me want to
> pull my hair out!!  Thanks!
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 1 Nov 2006 17:13:33 -0400
> From: "The Editor" <editor at fast.st>
> Subject: Re: [pmwiki-users] Problems with ZAPdata
> To: pmwiki-users at pmichaud.com
> Message-ID:
>         <fec7cf150611011313h33215245xd49424a948fa7eb6 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 11/1/06, Lothar Baier <lbb at gravitalis.de> wrote:
> > Hi folks!
> >
> > I would like to use the Comments-Snippet for ZAP. People should be able
> > to post
> > comments without being logged in.So I created:
> >
> > (:zapform `Member`datapage="Snippets-Comments.+"`time`Comment`savedata`
> :)
> >
> > but that didn't work at all. And without the "" around the
> > Snippets-Comments.+
> > it produces a file like Snippets-Comments, which ist interpreted by
> > PmWiki as a
> > Group without a Page.
> >
> > What did I miss here?
>
>
> Hi Lothar!
>
> My apologies.  I changed the TRY THE CODE: part of my site and got it
> to work, but forgot to change the SEE THE CODE: snippet you cut and
> pasted.  The problem is a little bug with the field Comment.  Because
> the data is save in the text var directive format (:field: var:), when
> the field is comment it gets confused with the comment directive
> (:comment whatever:).
>
> Pm has said he would try and fix it in a soon coming release.
>
> In the mean time just use a different field name.  I used Remark.  Try
> this snippet below and you should have instant commenting for users
> who are not logged in.  I just tested it and it works great!
>
> For commenting on multiple pages (as in groupfooter, or even footer),
> you can set the datapage to something like Comments-{$Name}.+ or even
> Comments-{$Group}-{$Name}.+ . (Change the pagelist to match of course.
> Anyway, this would give you instant site wide commenting.  Works
> great!
>
> (:zapdata:)
> (:messages:)
> (:zapform `Member`datapage=Comments.+`time`Remark`savedata` :)
> (:input text Member {$AuthId}:)\\
> (:input hidden datapage "Comments.+":)
> (:input hidden time "+|%B %d, %Y":)
> (:input textarea Remark rows=7 cols=40:)\\
> (:input hidden savedata "Member,Remark,time":)
> (:input submit:)
> (:zapend:)
>
> (:pagelist group="Comments" fmt="#commentedit" -RecentChanges
> -GroupHeader:)
>
> Here's the update pagelist template
>
> [[#commentedit]]
> (:table bgcolor=#ffffcc cellspacing=5px width=80%:)
> (:cellnr:)Posted {=$:time} by {=$:Member}
> (:cellnr:)Comments: {=$:Remark}
> (:if expr equal {=$:Member} {$AuthId} or auth admin :)
> (:cellnr align=right:)Click here to edit this comment:
> [[{=$FullName}|EDIT]]
> (:if:)
> (:tableend:)
>
> [[#commenteditend]]
>
> Feel free to modify this, of course, to your needs.  And, let me know
> if you have any further problems.  Hope this helps!
>
> Cheers,
> Caveman
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed,  1 Nov 2006 23:22:28 +0100
> From: Jan Erik Mostr?m <lists at mostrom.pp.se>
> Subject: [pmwiki-users] Making some text stand out in a box
> To: pmwiki-users at pmichaud.com
> Message-ID:
>         <
> a02020017-1048-ppc-97D4B20E10724BE19F96989ED3EBF874 at Infinitum.local>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I'm currently working on a wiki which I will use to display
> source code examples in different programming languages (not PHP
> though ... so far I've never learned it) and I'm using the
> sourceblock recipe to do syntax highlighting. The result is very
> nice, but I don't really know how to best handle the display of
> text output.
>
> What I would like to have a basically a plain box similar to
> what the sourceblock recipe generates. I looked at the
> WikiStyleExamples page and found something that would work for me:
>
> %block define=coderesult bgcolor=#ffcc99 border='1px solid gray'
> padding=5px%
>
> %coderesult%[@
> Hello world
> @]
>
> But since I'm going to have this type of boxes on several pages
> I tried to set this style using $WikiStyle and came up with this
>
> $WikiStyle['coderesult']['bgcolor'] = '#ffcc99';
> $WikiStyle['coderesult']['border']  = '1px solid gray';
> $WikiStyle['coderesult']['padding'] = '5px';
>
> Which seem to partly work (no errors is printed and 'Hello
> world' can be seen on the page ;-) but I don't get the colored
> box that I get with the first definition. Can anyone tell me
> what I'm missing?
>
>                              jem
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed,  1 Nov 2006 23:47:50 +0100
> From: Jan Erik Mostr?m <lists at mostrom.pp.se>
> Subject: Re: [pmwiki-users] Making some text stand out in a box
> To: pmwiki-users at pmichaud.com
> Message-ID:
>         <
> a02020017-1048-ppc-7FC68F93023B4CEBB15BFFB2A34B10C6 at Infinitum.local>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Reply to Jan Erik Mostr?m <lists at mostrom.pp.se> 06-11-01 23:22:
>
> > $WikiStyle['coderesult']['bgcolor'] = '#ffcc99';
> > $WikiStyle['coderesult']['border']  = '1px solid gray';
> > $WikiStyle['coderesult']['padding'] = '5px';
> >   Which seem to partly work (no errors is printed and 'Hello
> >world' can be seen on the page ;-) but I don't get the colored
> >box that I get with the first definition. Can anyone tell me
> >what I'm missing?
>
> Correction, there is a very lightgray box around the text (so
> light that I missed it on my LCD screen at the angle I had it)
> but it looks like I can't change the color at all so I'm
> starting to suspect that the style definition isn't visible at
> all when the page is rendered??
>
>                  jem
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 01 Nov 2006 15:07:19 -0800
> From: "DrFredC.com" <drfredc at drfredc.com>
> Subject: Re: [pmwiki-users] includeurl and/or includesite do not work
>         with    php5
> To: Albi Rebmann <albi at cvmx.org>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <454928A7.3040405 at drfredc.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I'm not sure about php 5, but there was an update to the includeurl
> recipe a few months ago that helped it work in more cases than
> previously.  So make sure you've got the most recent versions.  Before
> then, in my experience with pmwiki 2.x was includeurl (and includesite)
> only worked with sites that ended with <site>.htm or <site>.html, which
> is fewer and fewer sites these days.  It wasn't a php related bug, at
> least not with the version of php my host uses.
>
> Albi Rebmann wrote:
> > Hi,
> >
> > I did update php to 5 and not both do not work anymore in pmwiki.
> > Is this true?
> > Maybe I do something wrong.
> > Any help?
> >
> >
> >
> > ALBI...
> >
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> >
> >
> >
>
> --
>
> Always, Dr Fred C
> drfredc at drfredc.com
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 2 Nov 2006 00:22:16 +0100
> From: Thomas -Balu- Walter <list+pmwiki-users at b-a-l-u.de>
> Subject: Re: [pmwiki-users] Making some text stand out in a box
> To: pmwiki-users at pmichaud.com
> Message-ID: <20061101232216.GA15345 at roadrunner.bartels-schoene.de>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Wed, Nov 01, 2006 at 11:47:50PM +0100, Jan Erik Mostr?m wrote:
> > Reply to Jan Erik Mostr?m <lists at mostrom.pp.se> 06-11-01 23:22:
> >
> > > $WikiStyle['coderesult']['bgcolor'] = '#ffcc99';
> > > $WikiStyle['coderesult']['border']  = '1px solid gray';
> > > $WikiStyle['coderesult']['padding'] = '5px';
> > >   Which seem to partly work (no errors is printed and 'Hello
> > >world' can be seen on the page ;-) but I don't get the colored
> > >box that I get with the first definition. Can anyone tell me
> > >what I'm missing?
> >
> > Correction, there is a very lightgray box around the text (so
> > light that I missed it on my LCD screen at the angle I had it)
> > but it looks like I can't change the color at all so I'm
> > starting to suspect that the style definition isn't visible at
> > all when the page is rendered??
>
> I think changing bgcolor to background-color would help :-)
>
>      Balu
>
>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 2 Nov 2006 00:36:58 +0100
> From: "kirpi at kirpi.it" <kirpi at kirpi.it>
> Subject: [pmwiki-users] WordCount Recipe
> To: pmwiki-users <pmwiki-users at pmichaud.com>
> Message-ID:
>         <d9d039dd0611011536g2aa9fb17jc3e67b8a645cbf24 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Sorry for re-submitting here a question that has already been on the
> list [1] and which, additionally, is somehow slightly off-topic within
> this very thread. Yet I find some (loose) points in common...
>
> > Pm:
> > [...]
> > In fact, there's the possibility that the rendered text
> > (sans HTML tags) will be saved as an attribute to make it easier
> > to count words and to display page excerpts (e.g. in pagelists
> > and searchresults).
> > [...]
> > I'd suggest waiting a few days.  :-)
>
> Within the many enhancements being brought to 2.2 version will that
> "plaintext" body thing (be ?action, recipe, core feature, or whathever
> the form) available?
> Any guess of the time frame?
> Really I miss plain text... ;-)
>
> Luigi
>
> [1]
> http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/32466/match=plaintext
>
>
>
> ------------------------------
>
> Message: 10
> Date: Thu, 2 Nov 2006 01:28:23 -0200
> From: "Carlos A. Bonamigo" <carlos.ab at gmail.com>
> Subject: [pmwiki-users] Division by zero on Site.Search
> To: PmWiki-Users <pmwiki-users at pmichaud.com>
> Message-ID: <200611020128.23708.carlos.ab at gmail.com>
> Content-Type: text/plain;  charset="us-ascii"
>
> Hi ,
>
> I'm getting some error messages when I hit the "Site.Search" page. It
> looks
> like this :
>
> Warning: Division by zero in /home/me/htdocs/pmwiki.php on line 1180
>
> Warning: Cannot modify header information - headers already sent by
> (output
> started at /home/me/htdocs/pmwiki.php:1180) in /home/me/htdocs/pmwiki.php
> on
> line 930
>
> Also, text inside the tables look bigger ("apple pie" instructions)  , but
> other pages using tables are not affected.
>
> TIA
>
> CarlosAB
>
>
>
> ------------------------------
>
> Message: 11
> Date: Wed, 01 Nov 2006 21:54:19 -0700
> From: dso <dso at moosoft.com>
> Subject: Re: [pmwiki-users] Division by zero on Site.Search
> To: "Carlos A. Bonamigo" <carlos.ab at gmail.com>
> Cc: PmWiki-Users <pmwiki-users at pmichaud.com>
> Message-ID: <454979FB.8070605 at moosoft.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Try changing the load order of your cookbook recipes.  If you just added
> one, move it up in the list.  This has helped me resolve some header
> issues.  You may need to experiment a little.
>
> Daniel
>
> Carlos A. Bonamigo wrote:
> > Hi ,
> >
> > I'm getting some error messages when I hit the "Site.Search" page. It
> looks
> > like this :
> >
> > Warning: Division by zero in /home/me/htdocs/pmwiki.php on line 1180
> >
> > Warning: Cannot modify header information - headers already sent by
> (output
> > started at /home/me/htdocs/pmwiki.php:1180) in
> /home/me/htdocs/pmwiki.php on
> > line 930
> >
> > Also, text inside the tables look bigger ("apple pie" instructions)  ,
> but
> > other pages using tables are not affected.
> >
> > TIA
> >
> > CarlosAB
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>
>
>
> ------------------------------
>
> Message: 12
> Date: Thu, 2 Nov 2006 08:14:27 +0100
> From: Jan Hegewald <hegewald at cab.bau.tu-bs.de>
> Subject: Re: [pmwiki-users] wiki to html
> Cc: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID: <C1FC39A3-57B1-4DAB-9E6A-33BEC86BEB07 at cab.bau.tu-bs.de>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Hello,
>
> Am 01.11.2006 um 16:35 schrieb Patrick R. Michaud:
> > On Tue, Oct 31, 2006 at 03:50:41PM +0100, Jan Hegewald wrote:
> >> Hello all,
> >> is there a way to export a snapshot of a current pmwiki to html? I
> >> want to copy my wiki to a webserver which does not allow for
> >> scripting (such as php).
> >
> > Perhaps something like
> >
> >    http://www.pmwiki.org/wiki/Cookbook/PmWiki2HTML-usingWGET ?
>
> yes, it is posiible using wget. Thanks for the pointer (-;
>
> Cheers,
> -- Jan
>
>
>
>
>
>
> ------------------------------
>
> Message: 13
> Date: Thu,  2 Nov 2006 09:38:35 +0100
> From: Jan Erik Mostr?m <lists at mostrom.pp.se>
> Subject: Re: [pmwiki-users] Making some text stand out in a box
> To: pmwiki-users at pmichaud.com
> Message-ID:
>         <
> a02020017-1048-ppc-7E45D548ABC348F4AF3F1DAF5B5EB257 at infinitum.cs.umu.se>
>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Reply to Thomas -Balu- Walter <list+pmwiki-users at b-a-l-u.de>
> 06-11-02 00:22:
>
> >  > Correction, there is a very lightgray box around the text
> >(so  > light that I missed it on my LCD screen at the angle I
> >had it)  > but it looks like I can't change the color at all so
> >I'm  > starting to suspect that the style definition isn't
> >visible at  > all when the page is rendered??
> >   I think changing bgcolor to background-color would help :-)
>
> Unfortunately not, no change.
>
> I'm probably missing something really basic, I've these line in
> my config.php file
>
> $WikiStyle['coderesult']['background-color'] = '#33FF33';
> $WikiStyle['coderesult']['border']  = '1px solid red';
> $WikiStyle['coderesult']['padding'] = '5px';
>
> and in the actual page
>
> %coderesult%[@
> p.someField = 0
> @]
>
> My original definition looked like this
>
> %block define=coderesult bgcolor=#ffcc99 border='1px solid gray'
> padding=5px%
>
> should 'block' be represented in WikiStyle in some way??
>
> Unfortunately I have no idea what the problem is.
>
>                  jem
>
>
>
> ------------------------------
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
> End of pmwiki-users Digest, Vol 17, Issue 4
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061102/d1371a99/attachment.html 


More information about the pmwiki-users mailing list