Andreas Gohr | 1 Sep 2005 04:00
Favicon
Gravatar

darcs changes


Good Morning!

This are the darcs changes for DokuWiki committed
yesterday. Please test them and report bugs.

---------------------------------------------------------------------
Wed Aug 31 22:55:50 CEST 2005  Andreas Gohr <andi[at]splitbrain.org>
  * HTTP Client added
  This patch adds an HTTP client written in PHP. It supports proxy
  handling and SSL if PHP was compiled with it.
---------------------------------------------------------------------

Single patches can be downloaded from
http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches

Bye,
your darcs changlog mailer 

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Riny Heijdendael | 1 Sep 2005 14:25

Quick posting thingy

Hi,

Fast bookmarking of pages visited and use dokuwiki as a blogging tool 
[[doku this page]] was one of the things on my todo list, so I added a 
little JScript/PHP combi to make a bookmarklet that does the trick (at 
least for me...)

You're welcome to have a look at
http://wiki.splitbrain.org/wiki:tips:weblog_bookmarklet

Regards,
Riny
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Andreas Gohr | 2 Sep 2005 22:37
Favicon
Gravatar

Styles for Pluginmanager

Hi!

I just enabled the pluginmanager and of course it looked ugly because
there were no combined stylesheet yet. I think we should change the
stylesheet loading logic. If no combined stylesheet exists the old logic
should be used to load all stylesheets separately (same goes for
scripts). Chris what do you think about it? Could you add it?

Andi
Andreas Gohr | 2 Sep 2005 22:39
Favicon
Gravatar

Re: HTTPClient (was: Re: RSS feeds parsing)

On Wed, 31 Aug 2005 23:07:41 +0200
Andreas Gohr <andi <at> splitbrain.org> wrote:

> > As far as I can trace it could be the https of magpie/rss_fetch.php
> > that  is not supported.
> 
> That is most certainly the case. I had a look at the snoopy lib wich
> is used to fetch the data. I think it is a mess.
> 
> I just added a HTTPClient to DokuWiki which does support SSL (if PHP
> was compiled with support for it).

Okay, now magpie uses the new lib. Riny could you see if the current
devel version works with your feeds now?

Andi
Chris Smith | 3 Sep 2005 02:55
Picon

Re: Styles for Pluginmanager

Hi,

Yes, I noticed this (but too late).  Its on my list of things to fix.

Chris

> -----Original Message-----
> From: dokuwiki-bounce <at> freelists.org
> [mailto:dokuwiki-bounce <at> freelists.org]On Behalf Of Andreas Gohr
> Sent: 02 September 2005 21:37
> To: dokuwiki <at> freelists.org
> Subject: [dokuwiki] Styles for Pluginmanager
> 
> 
> Hi!
> 
> I just enabled the pluginmanager and of course it looked ugly because
> there were no combined stylesheet yet. I think we should change the
> stylesheet loading logic. If no combined stylesheet exists 
> the old logic
> should be used to load all stylesheets separately (same goes for
> scripts). Chris what do you think about it? Could you add it?
> 
> Andi
> 
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

(Continue reading)

Andreas Gohr | 3 Sep 2005 04:00
Favicon
Gravatar

darcs changes


Good Morning!

This are the darcs changes for DokuWiki committed
yesterday. Please test them and report bugs.

---------------------------------------------------------------------
Fri Sep  2 22:30:54 CEST 2005  Andreas Gohr <andi[at]splitbrain.org>
  * minor fix for obfuscate patch

Fri Sep  2 22:12:30 CEST 2005  Andreas Gohr <andi[at]splitbrain.org>
  * HTTPClient is now used for RSS fetching

Fri Sep  2 17:05:27 CEST 2005  Esther Brunner <esther[at]kaffeehaus.ch>
  * function obfuscate($email) moved to common.php; used in parser and some plugins

Fri Sep  2 16:59:53 CEST 2005  Esther Brunner <esther[at]kaffeehaus.ch>
  * error reporting for plugins turned on once again; checks if file exists

Fri Sep  2 15:34:42 CEST 2005  Esther Brunner <esther[at]kaffeehaus.ch>
  * Constant DOCU_CONF corrctly initialisied (had a slash to much)

Fri Sep  2 20:46:41 CEST 2005  chris[at]teacherscpd.co.uk
  * plugin manager update, german language files - thanks Esther
---------------------------------------------------------------------

Single patches can be downloaded from
http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches

Bye,
(Continue reading)

Riny Heijdendael | 3 Sep 2005 14:00

Re: HTTPClient

Andreas Gohr wrote:
> On Wed, 31 Aug 2005 23:07:41 +0200
> Andreas Gohr <andi <at> splitbrain.org> wrote:
> 
> 
>>>As far as I can trace it could be the https of magpie/rss_fetch.php
>>>that  is not supported.
>>
>>That is most certainly the case. I had a look at the snoopy lib wich
>>is used to fetch the data. I think it is a mess.
>>
>>I just added a HTTPClient to DokuWiki which does support SSL (if PHP
>>was compiled with support for it).
> 
> 
> Okay, now magpie uses the new lib. Riny could you see if the current
> devel version works with your feeds now?

Yes it does, but only on HTTPS only. The thing is that it needs htaccess 
auth first to get to the feed anyway.

A nice discussion on this is on
http://labs.silverorange.com/archives/2003/july/privaterss

I will continue investigating this behaviour, thanks for the ssl upgrade 
you did.

> Andi

BTW, I am trying to get rid of the blogs anyway, and use dokuwiki as a 
(Continue reading)

Andreas Gohr | 3 Sep 2005 14:53
Favicon
Gravatar

Re: HTTPClient

On Sat, 03 Sep 2005 14:00:21 +0200
Riny Heijdendael <riny <at> aidenvironment.org> wrote:

> Andreas Gohr wrote:
> > On Wed, 31 Aug 2005 23:07:41 +0200
> > Andreas Gohr <andi <at> splitbrain.org> wrote:
> > 
> > 
> >>>As far as I can trace it could be the https of magpie/rss_fetch.php
> >>>that  is not supported.
> >>
> >>That is most certainly the case. I had a look at the snoopy lib wich
> >>is used to fetch the data. I think it is a mess.
> >>
> >>I just added a HTTPClient to DokuWiki which does support SSL (if PHP
> >>was compiled with support for it).
> > 
> > 
> > Okay, now magpie uses the new lib. Riny could you see if the current
> > devel version works with your feeds now?
> 
> Yes it does, but only on HTTPS only. The thing is that it needs
> htaccess  auth first to get to the feed anyway.

Well you could provide user and password in the URL of this would
reveal it to your wiki readers. For a corporate net this maybe okay
(your decision). Do it like this:

{{rss>http://user:password <at> my.web.host.com/feed.xml}}

(Continue reading)

Riny Heijdendael | 3 Sep 2005 16:03
Picon

Re: HTTPClient

>>Yes it does, but only on HTTPS only. The thing is that it needs
>>htaccess  auth first to get to the feed anyway.
> 
> 
> Well you could provide user and password in the URL of this would
> reveal it to your wiki readers. For a corporate net this maybe okay
> (your decision). Do it like this:
> 
> {{rss>http://user:password <at> my.web.host.com/feed.xml}}

Ok, thanks, but I prefer IP based access control because it will only be 
  from the dokuwiki server.

Greetings,
Riny

> Andi

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Joe Lapp | 3 Sep 2005 23:00
Picon
Favicon

hsc() undefined in RSS feed?

Hey DokuWiki gurus,

I have several syntax plugins that call hsc() to escape HTML special chars.  The calls to hsc() work just fine
when generating the pages, but when I go to retrieve the RSS feed, I periodically get errors such as:

"httpd: PHP Fatal error:  Call to undefined function:  hsc() in
/.../spiders/lib/plugins/span_shorthand/syntax.php on line 80"

.. and of course, no feed.

Am I doing something wrong in my plugins?  Or is hsc() really off-limits in plugins?  Thanks!

~joe
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist


Gmane