Re: [pmwiki-users] Javascript and 2.2.36 (Eemeli)

2012-04-10 Thread Eemeli Aro
Original author here. Just noticed this thread, but I've little to add to what Petko said; renaming $() and/or other included functions is the only AutoSave-specific thing I can think of suggesting. In hindsight, I should've picked a different name for it, but back in 2009 jQuery wasn't as

Re: [pmwiki-users] I need a little help with lower-case clean URLs

2011-11-22 Thread Eemeli Aro
2011/11/17  redisthe...@lavabit.com: Oh, thank you very much for this, seems just perfect! Though, I am trying it right now and it is not working for Group names, just for Page names. Perhaps it is some bug or incompatibility with the current version of PmWiki (since this cookbook was last

Re: [pmwiki-users] Pre-alpha rich text WYSIWTF editor

2011-03-30 Thread Eemeli Aro
On 30 March 2011 15:41, Petko Yotov 5...@5ko.fr wrote: It is so hard to edit without a recent JavaScript-enabled browser, that I contemplate writing a JavaScript wiki2html2wiki parser that would read and save the wikitext. That's technically complex and will not be a perfect clone of the PHP

Re: [pmwiki-users] UserAdmin templates

2011-03-28 Thread Eemeli Aro
message -- From: Eemeli Aro eem...@gmail.com Date: 15 June 2010 01:32 Subject: Re: pmwiki: authuser backend To: Peter Bowers pbow...@pobox.com Cc: Petko Yotov 5...@5ko.fr Bother. I'd hoped to have this more done by now, but I guess it's not. In any case, here's the latest. I won't have much

Re: [pmwiki-users] Whither simple, dependable PmWiki login/self-registering mechanism?

2011-03-22 Thread Eemeli Aro
On 21 March 2011 23:30, Peter Bowers pbow...@pobox.com wrote: I don't know if Eemeli has time to contribute further.  If so that would be ideal.  If not I can provide copies of our correspondence and the most up-to-date code if anybody is willing to put some time effort into it... I'm afraid

[pmwiki-users] SVN down on pmwiki.org?

2011-02-02 Thread Eemeli Aro
I haven't been able to get an SVN update from pmwiki.org for the last week or so at least due to the connection timing out. Is it just me, or is the service down, or are the instructions on http://www.pmwiki.org/wiki/PmWiki/Subversion out of date? eemeli

Re: [pmwiki-users] AuthUser and groups

2011-02-01 Thread Eemeli Aro
On 27 January 2011 20:17, Paul E. Bloch p...@cs.uoregon.edu wrote: We are using AuthUser for PmWiki access control.  I have two questions. Is there away to allow access for everyone except members of a group? Yes. See next answer. Is there a variable like $AuthId that tracks the group of a

Re: [pmwiki-users] Using pagelist output with template to output csv

2011-01-04 Thread Eemeli Aro
On 3 January 2011 22:45, c...@endlessnow.com wrote: I created a pagelist template that extracts some PTVs and the format looks like CSV. With a special skin (basically a do nothing skin) and with localized change of content-type, it's almost perfect except the pagelist output does

Re: [pmwiki-users] Static 'site maps'?

2011-01-03 Thread Eemeli Aro
On 2 January 2011 06:08, Steve G. word...@gmail.com wrote: I would like to be able to create a static page with the same content, which will be updated daily, or whenever a new page is created. Is there a way in pmwiki to have such a page? Maybe a script that will run the pagelist with the

Re: [pmwiki-users] htaccess redirect if not exist

2010-08-01 Thread Eemeli Aro
On 30 July 2010 04:27, pmw...@911networks.com wrote: What I'd like to happen is that the default becomes /pm2/site-new and if the webpage requested doesn't exist in /pm2/site-new, then switch to /pm1/site-existing where the existing page is still there. Modify the Site.PageNotFound page at

Re: [pmwiki-users] htaccess redirect if not exist

2010-08-01 Thread Eemeli Aro
On 30 July 2010 04:27, pmw...@911networks.com wrote: What I'd like to happen is that the default becomes /pm2/site-new and if the webpage requested doesn't exist in /pm2/site-new, then switch to /pm1/site-existing where the existing page is still there. Alternatively, modify your $WikiLibDirs

Re: [pmwiki-users] Shared pages and shared uploads

2010-08-01 Thread Eemeli Aro
On 31 July 2010 15:16, Simon nzsk...@gmail.com wrote: I'm using http://www.pmwiki.org/wiki/Cookbook/SharedPages can anyone suggest a way of sharing the upload directory for the page (in Windows) On *nix, my comment on Cookbook.SharedPage from a year ago still applies: you can remove the

Re: [pmwiki-users] Keeping history when updating pages via php

2010-08-01 Thread Eemeli Aro
On 1 August 2010 20:42, Wordit Ltd wordi...@googlemail.com wrote: How do you keep the full page history when using UpdatePage($pn, $old, $page) from PHP? I tried the following, reading the current page values into $old. But there are no diffs added to the page source in wiki.d (and rev=1).

Re: [pmwiki-users] How to detect if a page has @nopass for the read password

2010-07-13 Thread Eemeli Aro
On 13 July 2010 05:11, Randy Brown alongk...@aprivatespot.com wrote: Thanks for the suggestion, Eemeli.  Unfortunately, that just gave me a blank page. Blargle. Trying and failing is dangerous, it sucks you in and makes you fix things. This should work for the general case, but tell me if it

Re: [pmwiki-users] How to detect if a page has @nopass for the read password

2010-07-13 Thread Eemeli Aro
code on the conditional markup samples (http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples), so others will come upon it? Sure, go ahead. eemeli Randy On Jul 13, 2010, at 3:04 AM, Eemeli Aro wrote: This should work for the general case, but tell me if it doesn't

[pmwiki-users] PageVar security (was: How to detect if a page has @nopass for the read password)

2010-07-13 Thread Eemeli Aro
On 14 July 2010 00:20, Petko Yotov 5...@5ko.fr wrote: On Tuesday 13 July 2010 13:41:27, Eemeli Aro wrote : Which actually raises an interesting point: is it really sensible that page variables don't obey any permissions, but are always accessible? Page text variables are protected, mind. Would

Re: [pmwiki-users] How to detect if a page has @nopass for the read password

2010-07-12 Thread Eemeli Aro
On 12 July 2010 18:15, Randy Brown alongk...@aprivatespot.com wrote: I'm using AuthUser. Version pmwiki-2.2.0-beta65 (and possibly later versions) allowed me to test whether a page was world readable by checking the value of {*$PasswdRead}. In the current version (pmwiki-2.2.17) that ability

Re: [pmwiki-users] How to detect if a page has @nopass for the read password

2010-07-12 Thread Eemeli Aro
and buttons on a page that won't service them due to password protection, it will just confuse users. On Jul 12, 2010, at 11:45 AM, Eemeli Aro wrote: Slightly hacky, but should work provided that the @nopass is set directly for the page, and not inherited from the GroupAttributes page

Re: [pmwiki-users] Problem with markdown cookbook

2010-06-29 Thread Eemeli Aro
On 29 June 2010 19:04, pmw...@911networks.com wrote: Hi, I'm trying to export some pages to markdown. I've installed http://www.pmwiki.org/wiki/Cookbook/MarkdownOutput, extracted and added the local/config.php When I run: http://www.foto-biz.com/Seo/Photo-ideas-part-2?action=markdown I

[pmwiki-users] New recipe: Grep

2010-06-14 Thread Eemeli Aro
Somewhat accidentally, I ended up writing a wrapper for (:include:) that takes the text to include and does a regular expression search replace on it. All I really wanted to do was highlight future dates in a list, and somehow this turned out to be the easiest way to do it. The recipe does

Re: [pmwiki-users] Pagelist with alternate formatting per item

2010-06-10 Thread Eemeli Aro
On 10 June 2010 12:06, Simon nzsk...@gmail.com wrote: Of course there is not an even (or an odd) conditional markup condition. Has anyone some suggestions on how I could achieve this? 1. Use CSS3 rules such as li:n-th-child(even) and/or li:n-th-child(odd) [1]. Unfortunately, these don't work in

Re: [pmwiki-users] Using Intense Debate With Bloge

2010-06-09 Thread Eemeli Aro
On 9 June 2010 06:24, sov...@intrepidtrek.com wrote: When I plugged them into the blog entries everything worked fine...for a while. ID seems to forget comments were ever posted to entries, then sometimes it does. It especially doesn't like the first item on the Blog.Blog pagelist. I sent an

Re: [pmwiki-users] Announcing UserAdmin: easy user self-registration amp; amp; maintenance ... once it's properly tested

2010-06-08 Thread Eemeli Aro
On 8 June 2010 03:07, Dave Cooke da...@ellendee.co.uk wrote: When attempting to log in after creating a profile I am getting the following error Warning: Missing argument 5 for AuthUserProfiles(), called in /var/www/domains/classic-sf.com/docs/test/scripts/authuser.php on line 71 and defined

[pmwiki-users] Announcing UserAdmin: easy user self-registration maintenance ... once it's properly tested

2010-06-07 Thread Eemeli Aro
So I went and put together UserAdmin, a framework for allowing user self-registration and management in PmWiki. You can think of it as an extension to AuthUser, but it could be extended to work with UserAuth as well as other systems. UserAdmin by itself is just the front end, handling the form

[pmwiki-users] Anyone using multiple passwords for one account?

2010-06-07 Thread Eemeli Aro
Related to working on UserAdmin, I have a question on AuthUser usage practices: Is anyone using more than one password for accessing a single AuthUser account? It's much easier to assume each account has just one password, but authuser.php does allow an unlimited number of passwords and LDAP

Re: [pmwiki-users] Announcing UserAdmin: easy user self-registration maintenance ... once it's properly tested

2010-06-07 Thread Eemeli Aro
On 7 June 2010 15:18, da...@ellendee.co.uk da...@ellendee.co.uk wrote: Hi, I had a look at the recipe and got the following error: Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in F:\www\g\cookbook\useradmin-core.php on line 129 Bother.

Re: [pmwiki-users] Getting pagelist to return csv of PTVs as a csv streamed out

2010-06-03 Thread Eemeli Aro
On 3 June 2010 21:05, Chris Cox c...@endlessnow.com wrote: I can get pagelists to return PTVs as a set of comma separated items. Now I would love to be able to get a pagelist to return those items as a streamed mime type output (so that you get a save dialog from the browser). Possible?

Re: [pmwiki-users] Including PTVs from other pages, for use in pagelists

2010-06-03 Thread Eemeli Aro
On 3 June 2010 21:07, Chris Cox c...@endlessnow.com wrote: Ok... I have a page with PTVs on it.  I would like to include PTVs from a different page (e.g. using include for example). What I'd like is to be able to have a pagelist query have access to all PTVs, for the page and the pages it

Re: [pmwiki-users] Accessibility Option

2010-06-03 Thread Eemeli Aro
On 3 June 2010 22:48, Ivan Mann ivanm...@uab.edu wrote: I have to add an accessibility button to quite a few of my pmwiki pages.  What that means is to display all of the content of the pages with plain, large text on white background. Is there an automatic (that is, easy) way to do that or do

Re: [pmwiki-users] A robust user registration module

2010-05-28 Thread Eemeli Aro
On 27 May 2010 17:16, Wordit Ltd wordi...@googlemail.com wrote: - The data does not have to be stored *before* verification because the data will be sent back when the user clicks the email link, and the key tells us if it's correct. The way I see it, storing the new user data on first

[pmwiki-users] pmwiki.org web server instability

2010-05-28 Thread Eemeli Aro
For the last week or so (hard to say exactly) I've seen brief periods when pmwiki.org and pmichaud.com have been refusing connections on port 80. SVN has still worked, mind. Anyone else experienced the same, or is it just me? eemeli ___ pmwiki-users

Re: [pmwiki-users] Problem with PTV in Pagelists

2010-05-28 Thread Eemeli Aro
On 28 May 2010 14:37, Ian Barton li...@manor-farm.org wrote: The pagelist displays the next five events in the Calendar group. The problem is with $JournalDateTitle. This splits the filename from Calendar.201005028 into a more human readable format. It displays correctly when I use it on a

Re: [pmwiki-users] A robust user registration module

2010-05-28 Thread Eemeli Aro
On 28 May 2010 15:24, Wordit Ltd wordi...@googlemail.com wrote: Eemeli, you already have the mechanisms in your new AuthUserProfiles recipe proposal. Why not have an email-only option, stored in a separate place for these purposes? e.g. SiteAdmin.VerifiedAddresses, or whatever, which other

Re: [pmwiki-users] Problem with PTV in Pagelists

2010-05-28 Thread Eemeli Aro
On 28 May 2010 16:32, Ian Barton li...@manor-farm.org wrote: {(ftime fmt=%A, %B %d, %Y when='{=$Name}')} doesn't appear to work, see the page referenced above for the output. On the page itself, you need to use {$Name} or {*$Name}. {=$Name} is required in the pagelist template to refer to the

Re: [pmwiki-users] How to test group membership in config.php?

2010-05-26 Thread Eemeli Aro
On 26 May 2010 10:17, Oliver Betz list...@gmx.net wrote: Wordit Ltd wrote: How do you check in config.php whether the authenticated user is the member of a specified group? if currently authenticated user is in @group1 do this (The groups have been set with AuthUser) I'm also interested in a

Re: [pmwiki-users] A robust user registration module

2010-05-25 Thread Eemeli Aro
On 24 May 2010 13:59, Wordit Ltd wordi...@googlemail.com wrote: I just realised this a lot simpler than I thought. There is no need for temporarily storing the sign-up info. I think this should work: - user supplies email, username, password via a form - create a key containing supplied

Re: [pmwiki-users] A robust user registration module

2010-05-25 Thread Eemeli Aro
On 26 May 2010 02:03, DaveG pmw...@solidgone.com wrote: On 5/25/2010 12:35 AM, V.Krishn wrote: Somehow I think sha1($email.$username.$password) should be sufficient. Secondly, As no user info(including email) is stored on server, what would be the method to resend new password when lost?

Re: [pmwiki-users] A robust user registration module

2010-05-21 Thread Eemeli Aro
On 21 May 2010 13:29, Simon nzsk...@gmail.com wrote: Perhaps we should add a PITS entry and vote for it to gauge its popularity and define a short key feature set? Honestly, I see the bigger problem with this as finding the person or persons to write the code. Who's going to do it? I at least

Re: [pmwiki-users] A robust user registration module

2010-05-20 Thread Eemeli Aro
On 20 May 2010 15:16, Hans desi...@softflow.co.uk wrote: I am looking for a robust user registration module, by which wiki users can register by choosing a user name and password, submit these together with name and email address, and get a confirmation email sent to them automatically, which

[pmwiki-users] Do you use custom upload directories?

2010-05-18 Thread Eemeli Aro
I'm working on a pagelist-type attachment list cookbook recipe. I'd like to make it work in non-default setups as well, so I figured I'd ask this here: Is anyone using an uploads directory structure (ie. an $UploadPrefixFmt value, http://www.pmwiki.org/wiki/PmWiki/UploadVariables) other than the

Re: [pmwiki-users] Page which accepts text from user, uploads text, stores on server, returns URL for referencing data

2010-05-18 Thread Eemeli Aro
On 18 May 2010 16:41, Harry Forsdick ha...@forsdick.com wrote: I would like to create a page which accepts text from user (probably in a form with a textarea), uploads and stores the text in a file with a short generated name onto the server, and returns the URL of the newly stored file for

Re: [pmwiki-users] Page List Template Trouble

2010-05-12 Thread Eemeli Aro
=Group.Page fmt=#bytitle:) (:if false:) [[#bytitle]] [[{=$Group}/{=$Name}]] \\ [[#bytitleend]] (:ifend:) eemeli Thanks, Marcus On Wed, May 12, 2010 at 7:35 AM, Eemeli Aro eem...@gmail.com wrote: [[#bytitle]] [[{=$Group}/{=$Name}]] \\ [[#bytitleend

Re: [pmwiki-users] Page List Template Trouble

2010-05-11 Thread Eemeli Aro
On 12 May 2010 06:18, Wordit Ltd wordi...@googlemail.com wrote: Can anyone please explain the following two problems which occur with the code below: code (:pagelist link=Group.Page fmt=#bytitle:) [[#bytitle]] [[{=*$Name}]] \\ [[#bytitleend]] --

[pmwiki-users] RFC: Attachment variable syntax

2010-05-07 Thread Eemeli Aro
I've now got a first implementation for the structure of reading attachment metadata. Mostly it just does simple stuff like give you the file size or its mime type, as well as the silliness that's required to turn $RecentUploadsFmt into a search pattern that tells you who last modified a file.

Re: [pmwiki-users] RFC: Attachment variable syntax

2010-05-07 Thread Eemeli Aro
On 7 May 2010 12:46, Simon nzsk...@gmail.com wrote: {*Attach:duck.jpg$Mimetype} -- referring to the type of the main page's duck from the sidebar (for similarity with other markup, eg {*$MyVar}) Interesting conceptual challenge here: is the * an operator for targeting the main page, or is it a

Re: [pmwiki-users] What attachment operations do you want or need?

2010-05-07 Thread Eemeli Aro
On 7 May 2010 17:36, SteP step.list+pmw...@gmail.com wrote: Eemeli Aro wrote: This won't handle PNGs mislabeled as GIFs or other such mistakes, but for images at least in my experience browsers are actually pretty good at ignoring incorrect information and just showing the picture. Ffox

Re: [pmwiki-users] What attachment operations do you want or need?

2010-05-06 Thread Eemeli Aro
On 6 May 2010 11:49, SteP step.list+pmw...@gmail.com wrote: I would like a way to upload - and markup - images without being aware of their underlying file type. This should actually be relatively easy, made up of two parts. How about this: When uploading, if there is no file extension or if

[pmwiki-users] What attachment operations do you want or need?

2010-05-04 Thread Eemeli Aro
Greetings. I'm working on a bundle of recipes for better PmWiki attachment handling http://www.pmwiki.org/wiki/Cookbook/Attache. Largely this will be a re-implementation of my earlier recipes (chiefly Attachtable) in a more modular and user-friendly manner. So far I've only just published

Re: [pmwiki-users] What attachment operations do you want or need?

2010-05-04 Thread Eemeli Aro
On 4 May 2010 17:15, Tegan Dowling tmdowl...@gmail.com wrote: I'd like fault-tolerant name conversions or context-sensitive warnings and instructions. I'm thinking of the ways that naive editors get tripped up... Maybe an option for case insensitive filename handling, so MyPic.JPG is

Re: [pmwiki-users] What attachment operations do you want or need?

2010-05-04 Thread Eemeli Aro
On 4 May 2010 17:17, pmw...@911networks.com wrote: I use a lot of attachments. I'd like: 1. Formatting. Left, right, centered and flowed with text. Try %lfloat%, %rfloat% and %center%. 2. Sizing by %, height or width You mean resize an image to some percent of its original size? This should

Re: [pmwiki-users] What attachment operations do you want or need?

2010-05-04 Thread Eemeli Aro
On 4 May 2010 17:33, Dominique Faure dominique.fa...@gmail.com wrote: FWIW, I would really like to have a unified way to handle attachments in recipes, in order to improve user experience keeping a well known behavior while handling objects of the same kind, and as an interesting side effect,

Re: [pmwiki-users] What attachment operations do you want or need?

2010-05-04 Thread Eemeli Aro
On 4 May 2010 20:32, Karl Schilke schil...@onid.orst.edu wrote: I think Attachtable is really great as it is, but there are a few tweaks and features that I think would greatly improve it. The problem is, there are so many different little tweaks that could and should be implemented that the

Re: [pmwiki-users] What attachment operations do you want or need?

2010-05-04 Thread Eemeli Aro
On 4 May 2010 21:03, Tegan Dowling tmdowl...@gmail.com wrote: Ooh! Also! Bulk uploads. Have you looked at http://www.pmwiki.org/wiki/Cookbook/MultiUpload? eemeli ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] Page Variables help - how to take one and split into two

2009-11-01 Thread Eemeli Aro
2009/11/1 stevecr...@gmail.com: I'm trying create two page variables from a new markup I've created (ref GeoTagging recipe in development).  The markup is as follows and represents a comma separated latitude and longitude: (:coord 50.1234, -2.3456:) I'm trying (and failing) to take the

Re: [pmwiki-users] Geotagging for PmWiki

2009-10-29 Thread Eemeli Aro
2009/10/29 stevecr...@gmail.com: If I draw your attention to the 'georss:point' line which concatenates latitude and longitude, adding a space character in the middle.  All this works fine when I have a lat/lng defined in my page.  The problem I have is that when a page doesn't have a lat/lng

[pmwiki-users] PmWiki - mailing list integration

2009-10-22 Thread Eemeli Aro
I've put together a couple of cookbook scripts for integrating PmWiki with Enemies of Carlotta (a simple mailing list manager, http://liw.iki.fi/liw/eoc/index.html) and MHonArc (a mail-to-HTML converter, http://www.mhonarc.org/). The way membership maintenance works is by having a pagelist

Re: [pmwiki-users] how to specify RSS feed options using a pagelist format?

2009-10-13 Thread Eemeli Aro
2009/10/12 SteP step.list+pmw...@gmail.com: Unfortunately, feeds.php calls MakePageList() which ignores the 'fmt' option regardless of whether it is set through $FeedPageListOpt or $_REQUEST. Complex fmt processing seems to take place elsewhere in pagelist.php, not in MakePageList(). Ah,

Re: [pmwiki-users] how to specify RSS feed options using a pagelist format?

2009-10-12 Thread Eemeli Aro
2009/10/12 SteP step.list+pmw...@gmail.com: My question is, how can I set feed options for script/feeds.php from a wiki page? By setting them as HTTP GET parameters. The relevant lines from feeds.php are these: # determine list of pages to display if (@($_REQUEST['trail'] ||

Re: [pmwiki-users] Pagelist again

2009-09-24 Thread Eemeli Aro
2009/9/24 DaveG pmw...@solidgone.com: pmw...@911networks.com wrote: This time I'm trying to make a pagelist sorted as most recent first, but does NOT contain specific wording in name: I want all the pages without -Draft. It looks like you're mixing regex with pagelists. Untested, but

Re: [pmwiki-users] Shared Pages

2009-09-12 Thread Eemeli Aro
2009/9/12 Simon nzsk...@gmail.com: In config.php I have   $WikiDir = new PageStore('wiki.d/$Group/$FullName'); You shouldn't need to re-define PageStore with that same definition. Instead, you should use array_splice to add your shared PageStore as the second entry in $WikiLibDirs. What I

Re: [pmwiki-users] Can I set default home page name to HomePage instead of {$Group}?

2009-09-12 Thread Eemeli Aro
2009/9/12 Tegan Dowling tmdowl...@gmail.com: If I create a link to the home page of a group that doesn't yet exist: [[NewGroup/]] and click it, the wiki takes me to NewGroup.NewGroup?action=edit.  I want it to take me to NewGroup.HomePage?action=edit. Set this in config.php: $PagePathFmt =

Re: [pmwiki-users] PmWiki 2.2.3 released

2009-09-06 Thread Eemeli Aro
2009/9/6 Tegan Dowling tmdowl...@gmail.com: Now I've upgraded to 2.2.5, and looking over all the 2.2.x changes, I see we have http://www.pmwiki.org/wiki/PmWiki/UploadVariables#EnableUploadGroupAuth, which says: Set $EnableUploadGroupAuth = 1; to authenticate downloads with the group password.

Re: [pmwiki-users] PmWiki 2.2.3 released

2009-09-06 Thread Eemeli Aro
2009/9/6 Tegan Dowling tmdowl...@gmail.com: Oh, and does it matter which order  $EnableUploadGroupAuth = 1 and $EnableDirectDownload=0 appear in local/config.php? No. eemeli ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] page stores

2009-09-04 Thread Eemeli Aro
2009/9/4 Hans desi...@softflow.co.uk: Petko, could you please explain the change summary comment you left on Cookbook.PerGroupSubdirectories: PageStore is highly optimized for {$Group}/{$FullName} as opposed to $Group/$FullName What is the difference? You recommend to change to the new  

Re: [pmwiki-users] PAGELIST / Math / summatory

2009-09-04 Thread Eemeli Aro
2009/9/4 edwin marte edwin.ma...@leidba.com: I am having a problem though trying to use sumdata with pagelist and a PTV inside the pagelist. {(pagelist group=Cases)} Works. {(pagelist group=Cases $:Dept=Some Department)} Does Not. Actually my final markup will be something like the

Re: [pmwiki-users] PAGELIST / Math / summatory

2009-09-03 Thread Eemeli Aro
2009/9/3 edwin marte edwin.ma...@leidba.com: What I have is SomeGroup, wich have page1, page2, page3, etc. Every page have a page variable let's say called DATA. So if we have let's say: {SomeGroup.page1$:DATA}  =10 {SomeGroup.page2$:DATA}  =20 {SomeGroup.page3$:DATA}  =15 I want to be

Re: [pmwiki-users] PAGELIST / Math / summatory

2009-09-03 Thread Eemeli Aro
2009/9/3 Eemeli Aro eem...@gmail.com: Alternatively, the MarkupExpresssionSamples page also has {(sum)}, with which the template should be: [[#datasum]](:template first:){(sum (:template each:){=$:DATA}(:template last:) )} [[#datasumend]] Drat, the lines were mangled, and just after posting

Re: [pmwiki-users] PmWiki namespaces

2009-09-02 Thread Eemeli Aro
2009/8/31 Petko Yotov 5...@5ko.fr: On Monday 31 August 2009 12:08:09 Eemeli Aro wrote: I think that changing some of the fundamentals would in fact be easier, and present a more cohesive whole. There's a lot of potential in page attributes and custom PageStores that I think isn't being

Re: [pmwiki-users] PmWiki namespaces

2009-08-31 Thread Eemeli Aro
2009/8/31 Petko Yotov 5...@5ko.fr: On Saturday 29 August 2009 14:25:29 Eemeli Aro wrote: Note also that I'm not asking whether namespaces *should* exist; their non-existance is a problem for me that I intend to solve. Namespaces do exist in PmWiki, only we call them WikiGroups

[pmwiki-users] Key PmWiki Features

2009-08-31 Thread Eemeli Aro
The front page of pmwiki.org hasn't changed since 2006. I think we should update it with at least one key feature: page variables. Page variables and page text variables, along with templated includes and pagelist templates, are something that PmWiki does really well. I've looked a bit, but can't

Re: [pmwiki-users] Restore little feature lost w 2.2.5?

2009-08-31 Thread Eemeli Aro
2009/8/31 Tegan Dowling tmdowl...@gmail.com: I had my sites set up so that action=edit would always display the page preview below the EditQuickReference.  This was accomplished by having this in local\config.php:     ## Show preview below all edits        if ($action == 'edit')

[pmwiki-users] PmWiki namespaces

2009-08-29 Thread Eemeli Aro
I'm working on a new way of handling attachments in PmWiki that would make file meta information (filesize, mime type, copyright, etc.) accessible and to some extent editable from within PmWiki (with eg. {Attach:Site./pmwiki-powered.png$MimeType}). Essentially I'm taking a new approach at what

Re: [pmwiki-users] Recommended recipes?

2009-08-28 Thread Eemeli Aro
Commenting mostly on the recipes I'm responsible for: 2009/8/28 Twylite twyl...@crypt.co.za: So basically if I don't know it exists, I'm not going to look for it unless I have a specific problem that needs to be solved.  Which means that short of browsing through all the recipes I won't find

Re: [pmwiki-users] automatic link creation

2009-08-26 Thread Eemeli Aro
2009/8/26 Eemeli Aro eem...@gmail.com: 2009/8/26 adam overton a...@plus1plus1plus.org: i would like to have pmwiki convert certain commonly appearing names (or terms, or orgs) into a links to the respective person's external website. I'm not aware of any recipe that'll do

Re: [pmwiki-users] automatic link creation

2009-08-25 Thread Eemeli Aro
2009/8/26 adam overton a...@plus1plus1plus.org: i would like to have pmwiki convert certain commonly appearing names (or terms, or orgs) into a links to the respective person's external website. I'm not aware of any recipe that'll do this, but it is something I've been thinking of recently of

Re: [pmwiki-users] Writing to a page from an RSS feed

2009-08-19 Thread Eemeli Aro
2009/8/19 Chris Lott ch...@chrislott.org: Is anyone aware of a recipe for-- or scripts that would accomplish-- reading an RSS feed (let's say a twitter search feed) and continually adding that to a wiki page? I don't mean displaying the RSS feed in the page, but actually writing content that

Re: [pmwiki-users] Reducing PmWiki website mainteance

2009-08-16 Thread Eemeli Aro
2009/8/16 Simon nzsk...@gmail.com: These is an ongoing background load of sandbox type changes to new pages in the Main group and at times to New groups. I'd like to see a discussion about, and to suggest, that, on PmWiki.org all Main pages (except sandbox), and new page creation, should be

[pmwiki-users] Bloge: a complete bundle of blogging

2009-08-16 Thread Eemeli Aro
So I went and finally released Bloge http://pmwiki.org/wiki/Cookbook/Bloge, a bundle of blogging. Even though I'm calling it a bundle, you can think of it as a single recipe: it's available as a single download and I'm responsible for all its parts, except for PmForm. So here's my question:

Re: [pmwiki-users] Tagging like TiddlyWiki

2009-08-14 Thread Eemeli Aro
2009/8/14 Peter Bowers pbow...@pobox.com: Perhaps you could use the   $CategoryGroup = 'Main'; solution, as mentioned by Michale Continues, but then your special links could be [[!_Dogs]] while normal links to Main/Dogs would be either [[!Dogs]] or [[Main.Dogs]] or otherwise (note that

Re: [pmwiki-users] Tagging like TiddlyWiki

2009-08-14 Thread Eemeli Aro
2009/8/14 Michael Fake michael.j.f...@googlemail.com: I've just done a little test and Peter's solution does seem to work: [[_Dogs]] and [[Dogs]] both take me to Main.Dogs. If I then, on the Main.Dogs page, add the pagelist query (:pagelist link={$Name} _Dogs:) It lists those pages tagged

Re: [pmwiki-users] Problem with subversion update

2009-08-13 Thread Eemeli Aro
2009/8/13 Steven Benmosh word...@gmail.com: I am trying to update my pmwiki installation (currently pmwiki-2.1.27) to the latest using subversion. [snip] and got in response the following message: svn: Can't connect to host 'pmwiki.org': Connection refused I tried www.pmwiki.org, but got

Re: [pmwiki-users] Tiddlywiki-style tagging

2009-08-13 Thread Eemeli Aro
2009/8/13 Michael Fake michael.j.f...@googlemail.com: Thanks so much for the speedy response, but I'm afraid this doesn't quite do what I want. If I understand it right, this will list every page that has a link [[Main/Dogs]] anywhere inside it, whereas I want the list to ONLY show pages that

Re: [pmwiki-users] Hiding PTV's when using conditional markup

2009-08-11 Thread Eemeli Aro
2009/8/11 Graham Archer graham.arc...@sun.com: Regarding PTV's and conditional markup. I read at PmWiki/PageTextVariables-Talk that it's possible to do: LinkUrl: (:if name{$FullName}:)http://dilbert.com(:else:)[[Cookbook:Quotes]](:ifend:) {$:LinkUrl} I'm the one who added that to the

Re: [pmwiki-users] RSS syndication

2009-08-05 Thread Eemeli Aro
2009/8/5 pmw...@911networks.com: 1. Is there a way of getting the RSS to display the fully rendered page? Not just the description. Yes. I should be releasing a blog recipe package that includes this in the next few days (hopefully...), but you can use the default script/feeds.php as well.

[pmwiki-users] Command line pretty-print PmWiki pages

2009-07-30 Thread Eemeli Aro
In case this might be of use to anyone, I use the following sed scripts for pretty-printing PmWiki pages to the command line (defined in ~/.bashrc): alias pmf=sed 's/^text=/text=\n/;s/%0a/\n/g;s/%3c//g;s/%25/%/g' alias pmp=sed ' /^text=/ {h;d} s/^[^=]\+:.*// $ { G s/\ntext=/\n/

Re: [pmwiki-users] Command line pretty-print PmWiki pages

2009-07-30 Thread Eemeli Aro
2009/7/30 Eemeli Aro eem...@gmail.com: pmf Group.PageName will reformat the printout to ignore diffs and other non-current data, print the header fields first and a bit more clearly formatted, followed by the text with the decoded characters. Bother; that paragraph should of course start

Re: [pmwiki-users] PmWiki 2.2.4 released

2009-07-28 Thread Eemeli Aro
2009/7/28 Stéphane Heckel hst...@club-internet.fr: Compared to the beta-68, are the following variables (or equivalent) built-in with v2.2.4 ? # add $PageCreationTime $FmtPV['$PageCreationTime'] = strftime(\$GLOBALS['TimeFmt'], \$page['ctime']); No, ctime is still by default only accessible

Re: [pmwiki-users] :SPAM: RE: Get Rid of Main

2009-07-02 Thread Eemeli Aro
2009/7/2 Tim E. Rhodes trho...@trhodes.net: Come on please, someone help me out here. Am I posting my question incorrectly, or is it that no one knows me, or do I have to offer free sex to even get some acknowledgement? A few things come to mind: 1) It's the middle of summer, so quite a few

Re: [pmwiki-users] :SPAM: Get Rid of Main

2009-06-30 Thread Eemeli Aro
2009/6/30 Tim E. Rhodes trho...@trhodes.net: Hello Everyone, Is anyone using: http://www.pmwiki.org/wiki/Cookbook/GetRidOfMain and can you help with an issue I’m having with it? I am using the section for use with Clean URLs (with PmWiki v2.21) and everything seems to work with the

Re: [pmwiki-users] Proposal: a default bundle for PmWiki

2009-06-29 Thread Eemeli Aro
2009/6/29 Oliver Betz list...@gmx.net: Eemeli Aro wrote: As it is now, PmWiki is an incredibly simple, yet powerful system. For configurability, this is excellent. However, there's the problem: after the really easy install, there's the really easy install and configuration of the 15 cookbook

Re: [pmwiki-users] Sitemapper; how to determine backlinks from PHP?

2009-06-28 Thread Eemeli Aro
2009/6/26 Adrianna Pinska adrianna.pin...@gmail.com: Since I think most of my users create new pages by linking to them, and the most logical place for the page to go in the sitemap is underneath that linking page, I think it would work quite well if Sitemapper retrieved a list of backlinks

Re: [pmwiki-users] How to submit patches to PmWiki?

2009-06-28 Thread Eemeli Aro
2009/6/26 Petko Yotov 5...@5ko.fr: On Friday 26 June 2009 13:34:26 Eemeli Aro wrote: What's the proper way of submitting/proposing patches to the PmWiki core? New features added to the core should be potentially usefull to many people from the community. One way to find out if it is the case

[pmwiki-users] Proposal: a default bundle for PmWiki

2009-06-28 Thread Eemeli Aro
This is in part a continuation of the discussion started in the thread How to submit patches to PmWiki?, but I changed the title as this is veering rather far from where that thread started. To start from the more radical end of things, I've actually been pondering doing a fork of PmWiki. I very

[pmwiki-users] How to submit patches to PmWiki?

2009-06-26 Thread Eemeli Aro
What's the proper way of submitting/proposing patches to the PmWiki core? I've ended up fixing some things in the core files that couldn't be easily patched elsewhere, and I figure these might be useful to others as well. A few of these I've added PITS entries for, but they seem to have been

Re: [pmwiki-users] grab Attach: url in a PTV?

2009-06-03 Thread Eemeli Aro
2009/6/3 SteP step.list+pmw...@gmail.com: Hi all, is it possible to set a PTV to the path computed by Attach: ? What I'm looking for is a way to use attachments as markup parameters. MarkupExpressions http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions might be your friend here. Haven't tested

Re: [pmwiki-users] Fox forms and newlines

2009-06-02 Thread Eemeli Aro
2009/6/2 Randy Brown ra...@brownragfilms.com: I want the user to type in a form without worrying about markup. OTOH, I want what's saved on the page to be a Page Text Variable. For example, the user types into the textarea associated with the page text variable MyPTV: Line 1 Line 2 And

Re: [pmwiki-users] How to prepend text to the value entered in a form's text box

2009-06-02 Thread Eemeli Aro
2009/6/2 Randy Brown ra...@brownragfilms.com: How do I prepend text to the Summary when the user submits a form? I already know how to set a default value, and how to get a user-entered value, but not how to mix the two. For example, If the user enters I changed X I want to prepend Modified

Re: [pmwiki-users] Revision control for uploaded files?

2009-06-01 Thread Eemeli Aro
2009/6/1 Karl Maihofer ignora...@gmx.de: i use PmWiki as a personal knowledge management system. What i am missing is a revision control for uploaded (attached) files. Did anyone implement something like that or has anyone integrated another Software in a PmWiki-Site to handle files with

Re: [pmwiki-users] Output pages to text

2009-06-01 Thread Eemeli Aro
2009/6/2 Marcus pr...@wordit.com: Is there an automated way to output all pages within a group to a single text file? Or one text file per page? Take a look at http://www.pmwiki.org/wiki/Cookbook/MarkdownOutput if you want pretty-printed output from the pages' wiki markup. If you want the

Re: [pmwiki-users] Auto-save function?

2009-05-29 Thread Eemeli Aro
2009/5/29 Marcus pr...@wordit.com: On Thu, May 28, 2009 at 4:04 PM, Eemeli Aro eem...@gmail.com wrote: http://www.pmwiki.org/wiki/Cookbook/AutoSave Excellent, works great! Many Thanks. Since I have somebody working on the wiki who tends to forget saving, even the notsaved recipe

  1   2   3   >