Re[2]: openblog

qMax <[email protected]> Fri, 27 Jan 2006 15:33:52 +0600
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Tuesday, January 24, 2006, 4:18:06 PM, Christian Stocker wrote:


CS> On 24.1.2006 10:23 Uhr, qMax wrote:
>> Monday, January 23, 2006, 10:14:26 PM, Christian Stocker wrote:
>> 
>> CS> Hi
>> 
>> CS> It should work, we used it recently, but I have to check, how it's
>> CS> exactly done. Unfortunately no real time right now. Maybe tomorrow
>> 
>> Is openblog.php in bxcms distribution the only source of plugin ?
>> I mean - are blog.bitflux.ch, lots.bitflux.org and 72studen.ch running
>> unmodified sources of php bxcms code ?

CS> blog.bitflux.ch is not an open blog :) lots.bitflux.org is quite old and
CS> 72stunden.ch is the latest one we used (although on the 1.2 branch)

CS> I updated now the openblog plugin from that branch to the 1_3 and trunk
CS> branch, although the changes are minimal (except of the hardcoded paths,
CS> which is maybe important :) )

Now it generates:
Warning[2] parse_url(blog:///newpost.xml) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse url in /home/srv/dalet/inc/bx/streams/buffer.php at line 18
and falls into recursion again.

Because there called:
bx_plugins_openblog::getContentById(/blog/,index)
bx_streams_blog::stream_open(blog:////newpost.xml,rb,XXXX,XXXX)

here are four slashes, since dirname(/blog/) == '/' in
 $dom->load(sprintf("blog://".dirname($path)."/%s.xml",$p));

And I still cannot figure out how recursion of
plugin_openblog::getContentById and streams_blog::stream_open is
supposed to work...

-- 
 qMax

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms