Re: [pmwiki-users] Page save performance issue

2009-10-20 Thread Laatz, Erek
Hello Jean-Daniel,

thank you for your reply! Oh yes, not only defragmented. I have
re-formatted that data partitions for the web server and placed the
htdocs including the PmWiki directory in the fresh-formatted partition -
with no performance improvement.

Actually I have no idea where to increase the page-save-performance. But
I also want to have a look to my Apache 2.2. I have the apprehension
that here something's not ok.

I will inform community if I find out something. Have a nice day and
best regards, yours

Erek

jdd-gmane wrote:
 Laatz, Erek a écrit :
 
 On both systems the page save performance is nearly the same.
 
 did you defragment the hard drive?
 jdd
 
 

-- 
+---++
I Erek LaatzII
I Senior Consultant I Tel.: +49.(0)431.3993-556  I
I Professionals  Projects  I FAX:  +49.(0)431.3993-999  I
I --II
I Consist Software Solutions GmbH   II
I A Consist World Group Company I Mobile:   +49.(0)160.90627851  I
I Falklandstr. 1-3, 24159 Kiel  I E-Mail:   la...@consist.de I
I Postfach 93 28,   24152 Kiel  II
+---++
I HRB Kiel Nr. 3983, UST-ID: DE811697637 I
I Geschäftsführer: Dipl.-Kfm. Daniel RiesI
I  Dipl.-Math. Martin Lochte-Holtgreven  I
I  Ines von Jagemann I
++
I Pushing IT forward!I
I Ihr IT-Spezialist für Integrations- und Individuallösungen I
I Your IT specialist for integration and tailor-made solutions   I
++

Finalist beim Großen Preis des Mittelstandes

!--
Nichts auf der Welt ist so mächtig wie eine Idee,
 deren Zeit gekommen ist!
  Victor Hugo
!

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Page save performance issue

2009-10-20 Thread DaveG

Laatz, Erek wrote:
 Here some basic informations about the Wiki and the systems:
 
 Wiki: 348 sites / 353 files in ./wiki.d
What do you mean here by sites here? Do you have 348 farms? And each 
farm has 353 files in wiki.d?

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Getting a random page name inside a cookbook recipe

2009-10-20 Thread Maxim
Within a cookbook recipe I want to select a page at random from a
particular group. The solution I came up with is:

$pagename = trim(strip_tags(MarkupToHTML('', '(:pagelist fmt=#simple
list=normal group=Sprites order=random count=1:)')));

This has the advantage of not needing any dedicated pagelist format.
However, I'm a little worried that it's doing more than is necessary.
Is there a nicer way?

Maxim

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Just starting out....

2009-10-20 Thread ~Jami




Hello all, I have a dumb newbie
question - 

I have installed pmwiki, everything seems to be fine.
However, any changes I make to local/config.php do not show up when I
load pmwiki.php in my browser.

latest change was to install a skin and reference it in config.php -
again no show. My logo - no show. My background color change - no
show.

What stupid thing am I doing wrong :-|

Thanks so much,



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Just starting out....

2009-10-20 Thread DaveG


~Jami wrote:
 Hello all,  I have a dumb newbie question -
 
 I have installed pmwiki, everything seems to be fine.
 However, any changes I make to local/config.php do not show up when I 
 load pmwiki.php in my browser.
 
 latest change was to install a skin and reference it in config.php - 
 again no show.  My logo - no show.  My background color change - no show.
Make sure there are execute privs on config.php (I have 0644), and on 
the local/ directory (I have 0755).

You might also quickly check that config.php is being executed. Add a 
basic print statement:
   echo In config;

If you see In config when you reload your browser (and possibly some 
errors, just ignore those), then you may have an error how you're 
including the skin. If so let us know what statements you're using.

If you don't see the In config then check that you have the 
installations setup right, with the directories in the right place.


  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Page save performance issue

2009-10-20 Thread DaveG
Forward response to list.

Laatz, Erek wrote:
 Hi Dave,
 
 sorry for my bad description: 2 independent hosts (where one is backup)
 with same content. Both will have 353 files in wiki.d directory.
 


 DaveG schrieb:
 Laatz, Erek wrote:
 Here some basic informations about the Wiki and the systems:

 Wiki: 348 sites / 353 files in ./wiki.d
 What do you mean here by sites here? Do you have 348 farms? And each
 farm has 353 files in wiki.d?

 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 9.0.686 / Virus Database: 270.14.23/2448 - Release Date: 10/20/09 
 06:43:00


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Just starting out....

2009-10-20 Thread ~Jami




Thank you Dave. I did change
permissions and found a caching problem.

It's fixed now

DaveG wrote:

  
~Jami wrote:
  
  Hello all, I have a dumb newbie question -


I have installed pmwiki, everything seems to be fine.

However, any changes I make to local/config.php do not show up when I
load pmwiki.php in my browser.


latest change was to install a skin and reference it in config.php -
again no show. My logo - no show. My background color change - no
show.

  
Make sure there are execute privs on config.php (I have 0644), and on
the local/ directory (I have 0755).
  
  
You might also quickly check that config.php is being executed. Add a
basic print statement:
  
 echo "In config";
  
  
If you see "In config" when you reload your browser (and possibly some
errors, just ignore those), then you may have an error how you're
including the skin. If so let us know what statements you're using.
  
  
If you don't see the "In config" then check that you have the
installations setup right, with the directories in the right place.
  
  
  
~ ~ Dave
  
  




___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Cookbook/Flash - splitting the page into two?

2009-10-20 Thread adam overton
hi there
i'm about to upload a major update to the swf-sites.php recipe hosted at
http://www.pmwiki.org/wiki/Cookbook/Flash, plus i plan to majorly overhaul
the page, as it's cluttered with comments, and it's can be confusing to
navigate.

before i do so, i would like to ask if there are any objections to
splitting this page into two? Perhaps:
- Cookbook/Flash - to host swf.php and flash.php
- and something like Cookbook/FlashVideos (any better ideas?) - to host
the recipes for youtube, vimeo, and the variety of other plugins that have
been added, either in swf-sites.php or individually.

what do you think?
otherwise, i'll just clean up the page and try to make it as navigable as
possible, perhaps a table-of-contents, some anchors, etc.

also - it appears that swf.php has been overwritten with flash.php. does
anybody have a copy of swf.php that could be re-uploaded? i looked in my
cookbook and it's merely a duplicate...

thanks,
adam


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Cookbook/Flash - splitting the page into two?

2009-10-20 Thread DaveG


adam overton wrote:
 hi there
 i'm about to upload a major update to the swf-sites.php recipe hosted at
 http://www.pmwiki.org/wiki/Cookbook/Flash, plus i plan to majorly overhaul
 the page, as it's cluttered with comments, and it's can be confusing to
 navigate.
Just a little :)


 before i do so, i would like to ask if there are any objections to
 splitting this page into two? Perhaps:
 - Cookbook/Flash - to host swf.php and flash.php
 - and something like Cookbook/FlashVideos (any better ideas?) - to host
 the recipes for youtube, vimeo, and the variety of other plugins that have
 been added, either in swf-sites.php or individually.
Did you find a reason why they inherently need to be different plugins 
even? I remember when I looked at this, I wondered why we even had so 
many scripts.

I didn't delve into it deeply, but I wonder why we don't simply have a 
single plugin for flash content. They all output the same basic html. 
The only difference might be the way a url is parsed based on domain 
name if a particular service requires a unique url format or params.


  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Cookbook/Flash - splitting the page into two?

2009-10-20 Thread adam overton
hi dave

i haven't personally worked with the flash.php or swf.php code, so i'm not
sure how easy or hard it would be to integrate that with the videosharing
sites code. and i'm not sure if i'm the guy to delve any deeper than i
have (at thie point at least).

for now i just have a big update to the 2nd portion (youtube,vimeo,etc),
which has a slightly different function for each vendor due to the slight
differences in the parameters they each offer, and how they apply them.
there may be a way to consolidate these at some point, but i'm not there
yet. as folks will see, i've complicated jon haupt's original solution
now that parameters and ROEPatterns are involved.

 I didn't delve into it deeply, but I wonder why we don't simply have a
 single plugin for flash content.

it seems so far the separate plugins serve two different functions based
on their source rather than their output:
a. flash.php  swf.php are primarily used for embedding your own flash
content (likely stored on your own server)
b. swf-sites.php ( and the other packages) are embedding from external
videosharing sites, all of which seem to have slightly different
api-formats and embed code.

i think combining the recipes at this point would create a mega-recipe
that might be more hefty than someone might like if they only want to
enable a. without enabling b., or vice versa

one consolidation that could happen would be to add all the extra
sprawling recipes (teachertube, audioo, godtube, slidehare) to the
youtube/vimeo/googlevideo/flickr recipe, adding new players as they come
along. one argument against that would be to keep the more obscure players
away from the more common ones. (is that mean?)

but maybe you're right - maybe there's a way to combine them more simply.
for now, however my question remains - shall i split'em up, or shall all
the recipes gather and be merry at the flash-party on the same page : )

a




 adam overton wrote:
 hi there
 i'm about to upload a major update to the swf-sites.php recipe hosted at
 http://www.pmwiki.org/wiki/Cookbook/Flash, plus i plan to majorly
 overhaul
 the page, as it's cluttered with comments, and it's can be confusing to
 navigate.
 Just a little :)


 before i do so, i would like to ask if there are any objections to
 splitting this page into two? Perhaps:
 - Cookbook/Flash - to host swf.php and flash.php
 - and something like Cookbook/FlashVideos (any better ideas?) - to host
 the recipes for youtube, vimeo, and the variety of other plugins that
 have
 been added, either in swf-sites.php or individually.
 Did you find a reason why they inherently need to be different plugins
 even? I remember when I looked at this, I wondered why we even had so
 many scripts.

 I didn't delve into it deeply, but I wonder why we don't simply have a
 single plugin for flash content. They all output the same basic html.
 The only difference might be the way a url is parsed based on domain
 name if a particular service requires a unique url format or params.


   ~ ~ Dave




___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Cookbook/Flash - splitting the page into two?

2009-10-20 Thread DaveG


adam overton wrote:
 one consolidation that could happen would be to add all the extra
 sprawling recipes (teachertube, audioo, godtube, slidehare) to the
 youtube/vimeo/googlevideo/flickr recipe, adding new players as they come
 along. one argument against that would be to keep the more obscure players
 away from the more common ones. (is that mean?)
I'll take a look at this then once you post your changes.


 but maybe you're right - maybe there's a way to combine them more simply.
 for now, however my question remains - shall i split'em up, or shall all
 the recipes gather and be merry at the flash-party on the same page : )
I reckon if we remove the comments and other cruft from the page, having 
one page should be okay.


  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Cookbook/Flash - splitting the page into two?

2009-10-20 Thread Chris Cox
On Tue, 2009-10-20 at 14:16 -0700, adam overton wrote:
 hi there
 i'm about to upload a major update to the swf-sites.php recipe hosted at
 http://www.pmwiki.org/wiki/Cookbook/Flash, plus i plan to majorly overhaul
 the page, as it's cluttered with comments, and it's can be confusing to
 navigate.
 
 before i do so, i would like to ask if there are any objections to
 splitting this page into two? Perhaps:
 - Cookbook/Flash - to host swf.php and flash.php
 - and something like Cookbook/FlashVideos (any better ideas?) - to host
 the recipes for youtube, vimeo, and the variety of other plugins that have
 been added, either in swf-sites.php or individually.
 
 what do you think?

IMHO, it's a wiki.  Go for it.  If somebody doesn't like it, they'll
change it back...



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Cookbook/Flash - splitting the page into two?

2009-10-20 Thread adam overton
so, i went ahead and added everything to Cookbook/Flash.
holler if it looks like it be broken up into 2 separate pages.

i guess i'll take this opportunity to announce that i've updated the
swf-sites recipe located at http://www.pmwiki.org/wiki/Cookbook/Flash

the main changes are:
* YouTube, Vimeo, GoogleVideo, and FlickrVid markup all now permit the
entry of parameters, ex:
(:youtube scale=1.5 playlist=1 autoplay=1:)

* These four recipes now also have their own $ROEPattern so that pasting
the embed code directly into the edit window will result in its conversion
to clean pmwiki markup

* various defaults can now be setup in config.php

for more on this and other more minor changes, visit the recipe page.
feedback, bug reports, etc are more than welcome.

best,
adam




 adam overton wrote:
 one consolidation that could happen would be to add all the extra
 sprawling recipes (teachertube, audioo, godtube, slidehare) to the
 youtube/vimeo/googlevideo/flickr recipe, adding new players as they come
 along. one argument against that would be to keep the more obscure
 players
 away from the more common ones. (is that mean?)
 I'll take a look at this then once you post your changes.


 but maybe you're right - maybe there's a way to combine them more
 simply.
 for now, however my question remains - shall i split'em up, or shall all
 the recipes gather and be merry at the flash-party on the same page : )
 I reckon if we remove the comments and other cruft from the page, having
 one page should be okay.


   ~ ~ Dave




___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users