Re: Need a wiki janitor [x-adr]

2004-02-11 Thread Robert Ferney
On Wed, 2004-02-11 at 13:41, Kjetil Kjernsmo wrote:
> On Wednesday 11 February 2004 21:37, Matt Sergeant wrote:
> > These are real live people doing the spamming edits, not robots.
> 
> Hm, I think it is about time to start lobbying for laws to make this 
> finable, so that it is possible to stop this early, because it has the 
> potential of destroying wikis... 
> 
> Best,
> 
> Kjetil

Legislation has so far shown to be ineffective in controlling the net.
Let's neither assume that it will be in the future, nor expect it to be.
We have the freedom of speech here on the net in an unprecedented level.
Let's not now expect some legislative body to now restrict that.

I believe that the original WIKI has had some similar problems. 

One of the solutions is to implement a simple rollback so that the users
can revert to the pre-graffiti version easily. This would include IP
tracking for the changes, so the reversion would back up, or atleast
have the possibility of backing up prior to all the changes made by that
IP address.
It is not nearly as attractive to the graffiti kiddies if their spam can
be easily removed. 

Another possibility would be to have accounts as a method of signing the
changes. This does have the controversial effect of excluding anyone who
does not wish to make an account, or those that would prefer to remain
anonymous. This has both pros and cons.

Another possible deterrent would be to display the time and IP address
of the last changes with the signature(s) if they were available. The
idea here is that the script kiddies would not wish to have their
identity or IP address known. tends to wierd them out. 

Robert Ferney


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AxKit Cores

2003-12-13 Thread Robert Ferney
A little more information..
The page works fine right after restarting apache.
My .htaccess index.xml and nav.xml files.
--- .htaccess ---
DirectoryIndex index.xml
 

  PerlHandler AxKit
 
  AxAddProcessor text/xsl /xslt/menu.xsl
  AxAddProcessor text/xsl /xslt/page_html.xsl
#  AxAddProcessor text/xsl /xslt/dbi.xsl


 index.xml ---

http://www.w3.org/2001/XInclude";
>
  Welcome
  

  
  
Welcome to the Education System
If you are here, you should have an account with which you can
login.
If not, ask your professor about getting one
  


-- nav.xml --


  Navigation
  Advising
  Physics
  Evan
  Chuck




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AxKit Cores

2003-12-13 Thread Robert Ferney
I'm getting the following in my error log after I touch the file I'm
including for my navigation bar. If I hit refresh, the error will go
away, however, it is undesirable behavior. I'm wondering if yall have
any idea what might be causing it.
Thanks
-Rob


[Sat Dec 13 02:28:27 2003] [warn] [client 63.230.21.237] [AxKit] fast
handler called for /index.xml
[Sat Dec 13 02:28:27 2003] [warn] [client 63.230.21.237] [AxKit] some
condition failed. recreating output
parser match_cb:  at
/usr/lib/perl5/site_perl/5.8.2/i686-linux-64int-ld/Apache/AxKit/Language/LibXSLT.pm 
line 55.
   
Apache::AxKit::Language::LibXSLT::handler('Apache::AxKit::Language::LibXSLT','AxKit::Apache=SCALAR(0x8a73c68)','Apache::AxKit::Provider::File=HASH(0x8a7fef0)','Apache::AxKit::Provider::File=HASH(0x8a805b4)','')
 called at /usr/lib/perl5/site_perl/5.8.2/i686-linux-64int-ld/AxKit.pm line 759
   
AxKit::process_request('AxKit::Apache=SCALAR(0x8a73c68)','Apache::AxKit::Provider::File=HASH(0x8a7fef0)','ARRAY(0x8a11290)','undef')
 called at /usr/lib/perl5/site_perl/5.8.2/i686-linux-64int-ld/AxKit.pm line 474
   
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x8a73c68)','Apache::AxKit::Provider::File=HASH(0x8a7fef0)')
 called at /usr/lib/perl5/site_perl/5.8.2/i686-linux-64int-ld/AxKit.pm line 300
eval {...} called at
/usr/lib/perl5/site_perl/5.8.2/i686-linux-64int-ld/AxKit.pm line 291
   
AxKit::main_handler('AxKit::Apache=SCALAR(0x8a73c68)','Apache::AxKit::Provider::File=HASH(0x8a7fef0)')
 called at /usr/lib/perl5/site_perl/5.8.2/i686-linux-64int-ld/AxKit.pm line 204
AxKit::fast_handler('AxKit::Apache=SCALAR(0x8a73c68)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
[Sat Dec 13 02:28:27 2003] [error] [client 63.230.21.237] [AxKit]
[Error] could not load /nav.xml, and no fallback was found
 
[Sat Dec 13 02:28:27 2003] [error] [client 63.230.21.237] [AxKit] From:
/usr/lib/perl5/site_perl/5.8.2/i686-linux-64int-ld/Apache/AxKit/Exception.pm : 9



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Favorite Platform

2003-12-09 Thread Robert Ferney
I'm in the middle of a re-install, and I don't feel like *fixing* redhat
9 (again) ... 

Which linux package would yall sugest? 

I've been using RedHat mostly because I'm used to it, and where they put
all their files.. That and their install process ( assuming you don't
want to change much after the fact ) is pretty easy.. 

I would like to have a pretty user friendly install, and as much of the
packages that AxKit depends on installed from the start.. (Apache
1.3/Perl/Mod-Perl would be preferred to have on that list) mostly
because I'm a lazy butt and don't want to have to work hard to get this
to work. 

Yall's input is most appreciated ... Thanks

-Rob



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



PerForm and Exception

2003-10-17 Thread Robert Ferney
I've been working with PerForm and XSP::Exception and ESQL modules to
create an on-line database interface.

Over all I've been pleased, however I have a couple things where I have
been unable to get the behavior I desire. 

First thing I've noticed is that the server does not respond well when
the request ends up causing the XSP to be recompiled. IE, I have to hit
the button/link more than once before I get the page back I want, also
sometimes will get stuck with the redirect from the PerForm result. 

second.. 
I'm using PerForm to edit my database records.. So..
I use the validate_ to check the individual values which seems to
work fine, however, when it has finished doing that and I go to update
the database in the submit_ handler, if there is an error I have
no way of stoping the redirect.. I would prefer to be able to have it
function similar to the validate handlers where if I call a die inside
the submit callback, it returns to the page with the error message
accessable to be placed somewhere on the screen, to give the user some
indication that there was a problem, instead of just giving a crash
message.

I tried using a  block around the   tags but
that dosn't result in the desired behavior since the perform seems to be
using some sort of eval block to handle the redirect exception.

If anyone else has attempted similar with better result, I'd be
interested in hearing what solutions worked. 

here's a copy of example submit callback.

sub submit_save {
  my ($ctxt) = @_;
  # save values to a database
  my %args = $ctxt->{Apache}->args();
  my $student = $args{student}|| $ctxt->{Form}{student};
  my $dbh = DBI->connect('DBI:Pg:dbname=edu');

  $dbh->do('
  update student_contact
  set 
label   = ?,
street  = ?,
city= ?,
state   = ?,
zip = ?,
phone   = ?,
email   = ?,
url = ?,
note= ?
  where oid = ?
  ',undef,
$ctxt->{Form}{newlabel},
$ctxt->{Form}{street},
$ctxt->{Form}{city},
$ctxt->{Form}{state},
$ctxt->{Form}{zip},
$ctxt->{Form}{phone},
$ctxt->{Form}{email},
$ctxt->{Form}{url},
$ctxt->{Form}{note},
$ctxt->{Form}{oid},
  ) or die $dbh->errstr;

  return "../?student=$student";
}

Thanks
Rob



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apache mod-perl AxKit

2003-10-16 Thread Robert Ferney
On Thu, 2003-10-16 at 11:57, Matt Sergeant wrote:
> On 16 Oct 2003, at 11:37, noura limam wrote:
> 
> > Hi all!
> >
> > I am using AxKit for the first time and have injstallation erros. 
> > Please let me new the dependancies between versions of Apache, 
> > mod_Perl and AxKit.
> 
> Apache 1.3.x. mod_perl 1.x

There are also a bunch of CPAN(perl) modules and the xml/xslt libraries
from http://www.xmlsoft.org/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Transformation from multiple sources

2003-09-22 Thread Robert Ferney
I'm not going to pretend to know how things should work here..
however I am assuming that if you use a 
http://machine/path/filename.ext
to specify the results that you desire to include, that you are
expecting that the  server will return filename.ext in the
format that it does normally, under the assumption that  is
configured and operates properly. 

If this is true, then the case where the  happens to be the
same as the one on which axkit is operating, then that same behavior
should hold.
-Rob

As an aside, I don't believe that exclamations about an idea being
nonsense adds to the communication any, as it is likely to increase the
ire of the participants, Simply stating that one disagrees with the
previous viewpoint should be sufficient without being inflammatory.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: xi:include

2003-09-19 Thread Robert Ferney
Isn't there a XSP include taglib/function that will include the XML at
runtime instead of compile time?
-Rob

On Fri, 2003-09-19 at 06:49, Mark Cance wrote:
> On 18/9/03 11:14 pm, "Jörg Walter" <[EMAIL PROTECTED]> wrote:
> 
> > On Thursday, 18. September 2003 18:33, Mark Cance wrote:
> >> On 18/9/03 5:17 pm, "Jörg Walter" <[EMAIL PROTECTED]> wrote:
> >>> Am Thursday, 18. September 2003 16:18 schrieben Sie:
>  On 18/9/03 2:42 pm, "Jörg Walter" <[EMAIL PROTECTED]> wrote:
> > Am Thursday, 18. September 2003 15:32 schrieben Sie:
> >>> For a development site, I strongly recommend AxNoCache on.
> >> 
> >> Yup, that¹s our setup. However we get newsfeeds etc from third parties
> >> that are included within our live site using xi:include, the feeds get
> >> up dated regularly and its these that I'm having the problems with.
> > 
> > At which point are they included? In XML loaded for XSP? Or for XSLT?
> > Or something else?
>  
>  They are included in the parent XML / XSP page, like so;
>  
>  
>  
>  
>  
>  http://www.apache.org/1999/XSP/Core";
>  xmlns:Kentucky="http://www.kentucky.com/xsp/Kentucky/";
>  language="Perl">
>  
>  
>  http://www.w3.org/2001/XInclude";
>  href="/content/news_feed.xml"/>
>  
>  
> >>> 
> >>> Why XSP for that? I don't see any taglib tags. You can use XInclude with
> >>> plain XML, no XSP needed.
> >>> 
> >>> And in this case, XSP is the reason why caching is wrong: XSP caches the
> >>> generated perl code in memory and/or on disk. It only checks the time
> >>> stamp of the source file, not of included files -- unlike the regular
> >>> AxKit cache, which checks everything.
> >> 
> >> It is an XSP page I removed tags etc to save from posting the entire file
> >> to the groups. The tags used by the page are defined as such;
> >> 
> >>  
> >> 
> >> 
> >>  >> developer="" publisher=""/>
> >>  >> developer="" publisher=""/>
> >> 
> >> .
> >> .
> >> .
> >> 
> >> So from what the sounds of what you saying if the include is used within an
> >> XSP page there is no way round the caching.
> > 
> > If you have maintenance scripts as you say, a simple "touch" on the main XSP
> > file should suffice to have the page reparsed. Alternatively, you may try to
> > include the external data at a later stage. If including it from within an
> > XSP page for example, all included files will be tracked correctly.
> 
> Ahh thanks!! A 'touch' sounds like a far better solution than a restart of
> Apache, but I'm a little confused by you last comment as I do include the
> xml from within an XSP page.
> 
> Thanks again.
> Mark.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: StyleChooser/URI phase style picking

2003-09-17 Thread Robert Ferney
One thing that people (myself specificaly) sometimes forget to check is
the permissions in the directories involved.
Since Apache is most likely running as some user other than 'arne'
chances are that the default permissions on the directory /home/arne
won't allow the apache user to get any of the modules in that path..

you may want to check to see if the directories /home/arne and
/home/arne/scripts have world +rx permissions. (read execute) I forget
why directories need x (execute) but I believe it is to get a directory
listing for the directory. 

Having your home directory have world +rx is considered a security risk
so you may want to consider putting the scripts directory somewhere
other than your home directory.. 

-Rob
--Disclamer-- all statements are iirc and imho .. use your own head
because I won't be held responsible for your actions ;)

On Wed, 2003-09-17 at 11:04, Arne Claassen wrote:
> > What did you put in your config? (hint: don't specify "Processors.pm" - 
> > just "Processors").
> 
> Ok, sorry for being so elaborate, but i figure if i provide all the
> pieces as output from the shell, I'll avoid typos and maybe someone can
> point out where the namespace problems are:
> 
> [EMAIL PROTECTED] eth]# head -1  /home/arne/scripts/Processors.pm
> package Processors;
> 
> [EMAIL PROTECTED] eth]# grep Processors /www/conf/httpd.conf
>   PerlRequire /home/arne/scripts/Processors.pm
> AxAddDynamicProcessor Processors
> 
> [EMAIL PROTECTED] eth]# tail -f /www/logs/error_log
> 
> [Wed Sep 17 10:02:24 2003] [error] [client 172.20.2.242] [AxKit] [Error]
> AxKit::load_module failed: Can't locate Processors.pm in @INC (@INC
> contains: /home/arne/scripts /www/lib
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .
> /usr/local/apache-1.3.28+mod_ssl+mod_perl+mod_gzip/
> /usr/local/apache-1.3.28+mod_ssl+mod_perl+mod_gzip/lib/perl) at (eval
> 5894) line 1.
> 
> I'm baffled.
> 
> arne
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Including xml/xsp content stored in a database

2003-09-12 Thread Robert Ferney
I'm working on a system where I would like to be able to have blocks of
content for the system stored in a database. including logical and form
elements..

however, when I use esql tags to retrieve the xml from the database, it
comes out with the tags escaped..

This is definatly the desired default behavior, but I kinda need the xml
to be xml when I get it out..
any ideas?

-Rob


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Errors from Install Attempt on RH9

2003-09-03 Thread Robert Ferney
I've made sure this is installed... Wasn't there a help page somewhere
for RH9 installs?

checking for expat symbols in apache... ok
Checking if your kit is complete...
Looks good
checking for iconv() in -liconv... no
checking for libiconv() in -liconv... no
checking for iconv() in -lc... no
AxKit needs the iconv system library to work properly. This comes by
default with most Unix systems, however it may be that you do not
have the development libraries installed, or possibly that you just
don't have iconv available on your system. For *BSD systems, iconv
is available in your distribution's ports collection. For Win32
systems, a google search will often suffice to find a Win32 library
version.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Include

2003-08-26 Thread Robert Ferney
On Tue, 2003-07-15 at 01:28, Matt Sergeant wrote:
> On Tue, 14 Jul 2003, Robert Ferney wrote:
> 
> > I've tried to include file b.xml in an xslt stage in the application I'm
> > writing for what should be some relatively static content that I want in
> > it's own file out for maintainability reasons.
> >
> >   
> 
> Use:
> 
>   
also results in 
[Tue Aug 26 05:57:25 2003] [notice] child pid 2259 exit signal Illegal
instruction (4)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help with includes Xinclude or otherwise.

2003-08-26 Thread Robert Ferney
In my index.xsp..
http://apache.org/xsp/core/v1";
  xmlns:esql="http://apache.org/xsp/SQL/v2";
  xmlns:param="http://axkit.org/NS/xsp/param/v1";
  xmlns:if-param="http://axkit.org/NS/xsp/if-param/v1";
  xmlns:f="http://axkit.org/NS/xsp/perform/v1";
  xmlns:util="http://apache.org/xsp/util/v1";
  language="Perl"
>
...


... results in ...
[Tue Aug 26 05:47:19 2003] [notice] child pid 2161 exit signal Illegal
instruction (4)

...
  http://www.w3.org/2001/XInclude"/>
... results in ...

 [Tue Aug 26 05:53:29 2003] [notice] child pid 2199 exit signal Illegal
instruction (4)

... Any idea what's going on here?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Taglib UnlessParam

2003-08-04 Thread Robert Ferney
We got a if-param module for xsp, 
how about an unless-param for those of us that want an else clause.

-rob


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Include

2003-07-15 Thread Robert Ferney
On Tue, 2003-07-15 at 05:05, Matt Sergeant wrote:
> On Tue, 15 Jul 2003, Robert Ferney wrote:
> > [Tue Jul 15 02:04:44 2003] [notice] child pid 22067 exit signal Illegal 
> > instruction (4)
> 
> That's a segfault, and needs further debugging. See the SUPPORT file
> included with AxKit for details on that. Also try enabling LibXSlT
> debugging (as detailed a few days ago on this list) to see what it's doing
> just before the segfault.

With the LibXSLT debugging turned on.. (man the debug output is verbose)
I get...

xsltApplyTemplates: select document('menu.xml')
ApacheReadConfig::__ANON__('xsltApplyTemplates: select
document(\'menu.xml\')^J') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm line 122
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm line 122
Apache::AxKit::Language::LibXSLT::handler('Apache::AxKit::Language::LibXSLT', 
'AxKit::Apache=SCALAR(0x88e5a9c)', 'Test::Provider::DBI=HASH(0x894d7d0)', 
'Apache::AxKit::Provider::File=HASH(0x84c87d8)', '') called at 
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 739
AxKit::process_request('AxKit::Apache=SCALAR(0x88e5a9c)',
'Test::Provider::DBI=HASH(0x894d7d0)', 'ARRAY(0x8316570)', undef) called
at /usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 461
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x88e5a9c)',
'Test::Provider::DBI=HASH(0x894d7d0)') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 288
eval {...} called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm
line 279
AxKit::main_handler('AxKit::Apache=SCALAR(0x88e5a9c)',
'Test::Provider::DBI=HASH(0x894d7d0)') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 193
AxKit::fast_handler('AxKit::Apache=SCALAR(0x88e5a9c)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
[Tue Jul 15 19:43:21 2003] [notice] child pid 28649 exit signal Illegal
instruction (4)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Include

2003-07-15 Thread Robert Ferney
On Tue, 2003-07-15 at 01:28, Matt Sergeant wrote:
>  

On Mon, 2003-07-14 at 21:15, S Woodside wrote: 
>  

I've tried both of these and I don't get a response from the server. 
The error log says...

[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] [uri] File Provider 
looking up uri menu.xsl
[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] [uri] File Provider set 
filename to /home/edu/html/member/menu.xsl
[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] about to execute: 
Apache::AxKit::Language::LibXSLT::handler
[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] [LibXSLT] getting the 
XML
[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] [LibXSLT] parsing 
stylesheet
[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] [LibXSLT] parsing 
stylesheet /member/menu.xsl
[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] [LibXSLT] performing 
transformation
[Tue Jul 15 02:04:43 2003] [warn] [client 192.168.0.4] [AxKit] LibXSLT match_uri: 
file:///etc/xml/catalog
[Tue Jul 15 02:04:44 2003] [notice] child pid 22067 exit signal Illegal instruction (4)




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AxKit and Perl

2003-07-15 Thread Robert Ferney
On Tue, 2003-07-15 at 01:21, Matt Sergeant wrote:
> On Mon, 14 Jul 2003, Peter Flynn wrote:
> 
> > > Also IME it's much safer to build your own {everything} rather than
> > > using debian packages, RPMs, fink, etc. when it comes to using AxKit.
> >
> > It could be useful to document this at an early stage on the AxKit
> > site (unless I missed it).
> 
> I won't put that on the site because I totally disagree with it, and it
> would put people off.
> 
> As a recent poster showed, it is possible to get AxKit to build quite
> cleanly on RH9, but I have a feeling you've now screwed your installation
> so royally that you may need to reformat and start again. Never ever try
> and "hack" an RPM distribution to get it to work - it always ends in pain.

It comes to mind that the rpm un-install options may have been useful at
some point.. 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Include

2003-07-14 Thread Robert Ferney
I've tried to include file b.xml in an xslt stage in the application I'm
writing for what should be some relatively static content that I want in
it's own file out for maintainability reasons. 

however... the following didn't work.
can anybody help me with a method that would work here?
thanks.
-Rob


http://www.w3.org/1999/XSL/Transform";
xmlns:xi="http://www.w3.org/2001/XInclude";
version="1.0">



  


   








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache::AxKit::Plugin::Session

2003-07-07 Thread Robert Ferney
After doing some digging, and uncommenting a die statement in
Apache::AxKit::Plugin::_get_session_from_store($$;$);
which tested the successful creation of the Apache::Session::File object

I further chased it down to the call to 
 new IPC::Semaphore(31818,32,IPC_CREAT | S_IRWXU );
in Apache::Session::SysVSemaphoreLocker->acquire_write_lock();
which returns the error.. "Permission denied" from
/usr/lib/perl5/site_perl/5.6.1/Apache/Session/SysVSemaphoreLocker.pm
line 63.

... Um any idea why this could be going on?
Robert Ferney



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache::AxKit::Plugin::Session

2003-07-07 Thread Robert Ferney
I have been attempting to use the Apache::AxKit::Plugin::Session
module for almost a week now. 

I have been unable to get the module to give me a session.

I've red the help and have attempted to dig through the source, but it
has not helped me to understand what I am doing wrong, or not doing.

If anyone has a working configuration for this module, please send me
some hints as to what the Apache configuration directives are, as well
as what your login script does.

I would prefer to use the module in cookie only mode. 

-rob


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Fwd: Re: Choosing styles for long pipelines]

2003-07-06 Thread Robert Ferney
Is it possible with this to have it use more than one StyleChooser at
the same time?

On Sun, 2003-07-06 at 12:18, Matt Sergeant wrote:
> On Sunday, Jul 6, 2003, at 19:03 Europe/London, Robert Ferney wrote:
> 
> > Um, could there be an apache directive to handle this say something 
> > like
> > AxKitStyleChooserAppend true
> > ## ( default being false for backward combatibility. )
> 
> Yeah, I realised that this would be the only way to do it, as people 
> are probably relying on this misfeature with something like:
> 
> # default processors
> AxAddProcessor text/xsl foo.xsl
> AxAddProcessor text/xsl bar.xsl
> 
> # processors for RSS
> 
> AxAddProcessor text/xsl foo.xsl
> AxAddProcessor text/xsl foo2rss.xsl
> 
> 
> So we either break the above (which frankly I'd rather do) or we add 
> another directive.
> 
> Matt.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Fwd: Re: Choosing styles for long pipelines]

2003-07-06 Thread Robert Ferney
Um, could there be an apache directive to handle this say something like
AxKitStyleChooserAppend true 
## ( default being false for backward combatibility. )

or some such...

Robert Ferney

On Sun, 2003-07-06 at 11:48, Matt Sergeant wrote:
> On Sunday, Jul 6, 2003, at 17:02 Europe/London, Nik Clayton wrote:
> 
> > Now I've started experimenting with RSS, and figure it would be nice to
> > automatically generate a RSS output.  A natural way of doing this (to
> > me) is with a parameter on the end of the URL to specify the format.
> > Which is exactly what Apache::AxKit::StyleChooser::QueryString is
> > supposed to do.
> >
> > So I changed the config file, and added:
> >
> > AxAddPlugin Apache::AxKit::StyleChooser::QueryString
> >
> > Then I removed the final AxAddRootProcessor line, and replaced it with:
> >
> > 
> > AxAddRootProcessor text/xsl 2html.xsl \
> > {http://axkit.org/2002/filelist}filelist
> > 
> >
> > 
> > AxAddRootProcessor text/xsl 2rss.xsl \
> > {http://axkit.org/2002/filelist}filelist
> > 
> >
> > On restarting the server, requests without the '?style=rss' parameter
> > worked fine. [snip] However, requests with the '?style=rss' parameter 
> > failed to generate sensible output.  After digging around, I put the 
> > identity transform in
> > to 2rss.xsl, to see what the XML it was being sent looked like, and
> > discovered that it was getting the original XML generated by
> > AxHandleDirs, and *not* the result of the transformations that the 
> > other
> > stylesheets were doing.
> 
> Yeah, this is a buggette (also known as a feature).
> 
> What's happening is that when AxKit sees a Processor outside of an 
>  block it assumes that the style is equal to '#default'. 
> So it's as though *all* your processors are inside the  "#default"> block.
> 
> I've thought for a long time now that it should work the way you've 
> suggested, where perhaps the style name for things outside the 
>  block should be something like '#global', and if there's 
> no style defined in the request it should use the '#global' + 
> '#default', but if there's a style defined it should use '#global' + 
> $style.
> 
> What I don't want to happen though is for this to break someone's 
> existing code.
> 
> Matt.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache AxKit Plugin Session

2003-07-05 Thread Robert Ferney
Please Advise..
I'm getting the following error when attempting to use the Session
Plugin.

-Robert Ferney

[Sat Jul  5 14:03:57 2003] [error] [client 192.168.0.4] [AxKit] [Error]
Can't use an undefined value as a HASH reference at (eval 225) line 51.

[Sat Jul  5 14:03:57 2003] [error] [client 192.168.0.4] [AxKit] From:
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Exception.pm : 9

with the xsp page..


http://apache.org/xsp/core/v1";
 xmlns:param="http://axkit.org/NS/xsp/param/v1";
 xmlns:session="http://www.apache.org/1999/XSP/Session";
 xmlns:auth="http://www.creITve.de/2002/XSP/Auth";
 language="Perl"
>

login

  Session
  
  SessionID: 




and my httpd.conf including. 
#
PerlRequire  /home/edu/perl/startup.pl
PerlModule AxKit
 # use URL sessions

#PerlModule Apache::AxKit::Plugin::Session 
AxAddPlugin Apache::AxKit::Plugin::Session

AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP

AxAddXSPTaglib AxKit::XSP::Session
AxAddXSPTaglib AxKit::XSP::Global
AxAddXSPTaglib AxKit::XSP::Auth
AxAddXSPTaglib AxKit::XSP::Param
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::PerForm
AxAddXSPTaglib Test::XSP::DBI
AxAddXSPTaglib Edu

AddHandler AxKit .xml .xsp




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Deferring XSL transformation to the browser

2003-07-04 Thread Robert Ferney
Specifically, there is some server side transforms that combine xslt
with javascript server side to render MathML.. found source on W3's
website under the math ml section..
I don't feel like re-writing the sheets to work with axkit because of
their broken xslt implimentation for use with $MS's broken xslt.
-Robert Ferney

On Fri, 2003-07-04 at 21:48, S Woodside wrote:
> I don't recall ever hearing of a browser that could do an XSLT 
> pipeline, but I don't pay too much attention to it.
> 
> simon
> 
> On Friday, July 4, 2003, at 07:11  PM, Michael A Nachbaur wrote:
> 
> > If not, I feel an itch that I might have to go and scratch.
> >
> 
> --
>   anti-spam: do not post this address publicly
> www.simonwoodside.com -- 99% Devil, 1% Angel
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache::AxKit::Plugin::Session

2003-07-04 Thread Robert Ferney
trying to use.
Apache::AxKit::Plugin::Session
AxKit::XSP::Session
AxKit::XSP::Global
AxKit::XSP::Auth
I've been looking through the documentation and poking at this for a
while now, and I don't seem to be able to get it to give me a session
id.

is there some additional documentation or example code that I could see?

right now.. my httpd.conf contains..
AxAddPlugin Apache::AxKit::Plugin::Session
AxAddXSPTaglib AxKit::XSP::Session
AxAddXSPTaglib AxKit::XSP::Global
AxAddXSPTaglib AxKit::XSP::Auth

and my xsp script looks like.


http://apache.org/xsp/core/v1";
 xmlns:param="http://axkit.org/NS/xsp/param/v1";
 xmlns:session="http://www.apache.org/1999/XSP/Session";
 xmlns:auth="http://www.creITve.de/2002/XSP/Auth";
 language="Perl"
>

login

  
  SessionID: 




and it's putting the following two lines in my apache error log.

[Fri Jul  4 18:04:50 2003] [error] [client 192.168.0.4] [AxKit] [Error]
Can't call method "delete" on an undefined value at (eval 225) line 34.

[Fri Jul  4 18:04:50 2003] [error] [client 192.168.0.4] [AxKit] From:
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Exception.pm : 9



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Design Question

2003-07-03 Thread Robert Ferney
For the project I am currently working on, I have the following design
thought.

I've written a database Provider module that will turn the url
  http://foo.com/bar/.xml
and provide the xml formatted results for the sql query
  select  from  where  = 
where  and  and the database connection parameters are
taken from a .htaccess file in /bar

I would then like to be able to use 
  http://foo.com/bar/.xml/

User/Group/Permissions

2003-07-03 Thread Robert Ferney
I'm working on several web applications and I would like to be able to
slap into my web apps a module to handle the management of the users. 
IE: I'm lazy and time constrained don't want to have to write more of
this than I have to.

I've seen a couple 'Session' modules on CPAN, however, I would like some
feedback as to what works, and what is good..

Thanks
Robert Ferney


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache object from TagLibs

2003-07-02 Thread Robert Ferney
On Wed, 2003-07-02 at 03:25, Jörg Walter wrote:
> Am Wednesday, 02. July 2003 11:18, schrieb Robert Ferney:
> > On Wed, 2003-07-02 at 01:52, Jörg Walter wrote:
> > > Are you sure your .htaccess/httpd.conf contains "PerlSetVar
> > > AxKit_DBI_table"? Note that case matters.
> >
> > I have tested this with a complimentary AxKit Provider module which
> > reads the same configuration parameter and does work.
> >
> > that and I copied/pasted the configuration name into the relevant code,
> > rather than typing it twice, so yes.
> 
> So, maybe try these things:
> C&P this other provider's relevant code into your module - check if it works.
> Modify this other provider to use your name and check if it works.
> Modify this other provider to use your code and check if it works.
> 
> Maybe this gives you a hint for where the problem lies.

I wrote the provider,
the provider works,

I tried copying the relevant code into a taglib module written using the
Apache::AxKit::Language::XSP::TaglibHelper module.

But Alas, In the provider I am accessing the Apache request object
passed in to the Provider Object. In the TagLib, I don't seem to be able
to access the same Apache object. 
I tried as per your suggestion to Access it using the
AxKit::Apache->request()
and the object get;s created, and the function call dosn't core, but it
dosn't seem to have the relevant Parameter...

...

Hmm, I wonder.. Would the AxKit::Apache->request() object perhaps not
have the scope that would include the PerlVar from the .htaccess file in
the specific locale that I'm calling it from?

I'll put the PerlVar argument in the root httpd.conf file with a
diffrent value and see if I can get that one.

httpd.conf contains
  PerlSetVar AxKit_DBI_table foobar

the .htaccess file contains.
  PerlSetVar AxKit_DBI_table users

the call in my taglib $r->dir_config('AxKit_DBI_table');
from the XSP page located in the same directory as the .htaccess file 
returns foobar

I did just notice also that the PerlSetVar block is inside a 
block. 

Testing it outside the files block.
now returns users

Ok, thanks Jörg, You've been a help.
-Robert Ferney



-Robert Ferney


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache object from TagLibs

2003-06-30 Thread Robert Ferney
On Sun, 2003-06-29 at 14:46, Matt Sergeant wrote:
> On Sunday, Jun 29, 2003, at 03:00 Europe/London, Robert Ferney wrote:
> >> From a taglib, is it possible to get to an apache object?
> > Specificaly I need to look up some Perlvar set options.
> AxKit::Apache->request will give you the request object.

Trying this and I'm not getting anything that makes sense.
The module gives me output, and does not crash, however, it's not the
results I expected.

What am I missing here?
-Robert Ferney

 Start code from Module 
package Test::XSP::DBI;
use Apache::AxKit::Language::XSP::TaglibHelper;
use Data::Dumper;

$NS = "http://ferney.org/test/xsp/dbi/";;

@EXPORT_TAGLIB = ( 
  'request()',
);

@ISA = qw( Apache::AxKit::Language::XSP::TaglibHelper );

use strict;

sub request
{
my $self = {};
my $r =  AxKit::Apache->request();

#From the .htaccess file
#PerlSetVar AxKit_DBI_table users

if ($r)
{
$self->{'table'}   = $r->dir_config('AxKit_DBI_table');
}

  warn Dumper($self,$r);#
  return $self;
}

1;
--- end code from module ---
--- Begin Error Log snippet ---
$VAR1 = {
  'table' => undef
};
$VAR2 = bless( do{\(my $o = 141524000)}, 'AxKit::Apache' );
Test::XSP::DBI::request() called at (eval 164) line 18
... remaining trace output clipped ...
--- End Error Log Snippet ---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache object from TagLibs

2003-06-28 Thread Robert Ferney
>From a taglib, is it possible to get to an apache object?
Specificaly I need to look up some Perlvar set options.

-Robert Ferney



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question about providers.

2003-06-26 Thread Robert Ferney
Especialy since 'perldoc -f stat' says.
...
9 mtimelast modify time in seconds since the epoch
...
which is the value that AxKit::Provider::File seems to be returning.

On Thu, 2003-06-26 at 17:31, Robert Ferney wrote:
> Reading the Wiki Documentation on..
> 
> Apache::AxKit::Provider
> ...
> mtime()
> Return the last modification time in days before the current time.
> 
> is this the age in days of the file?
> or is this the age in days since the epoch..
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Question about providers.

2003-06-26 Thread Robert Ferney
Reading the Wiki Documentation on..

Apache::AxKit::Provider
...
mtime()
Return the last modification time in days before the current time.

is this the age in days of the file?
or is this the age in days since the epoch..



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Accessing Configuration Directives

2003-06-26 Thread Robert Ferney
I would like to be able to control my modules via configuration
directives in the httpd.conf and .htaccess files.

>From the perl code, what is the prefered way to access these?

I would like to be able to do so from both a Provider and as a XSP
taglib.

-Robert Ferney


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Provider Problems

2003-06-25 Thread Robert Ferney
Sorry for the mail spam yall.

ended up digging through the source for 
package Apache::AxKit::Provider::File;
...
sub get_strref {
...
throw Apache::AxKit::Exception::IO(
  -text => "$self->{file} is a directory - please overload File
provider and use AxContentProvider option");
...
}

I think my problem was that my configuration was using 
AxProvider My::Provider
instead of 
AxContentProvider My::Provider

Changed that and now it works.

On Wed, 2003-06-25 at 18:48, Robert Ferney wrote:
> Ok, found the documentation for this..
> http://www.axkit.org/wiki/view/AxKit/Apache::AxKit::Provider#
> silly me.
> 
> On Wed, 2003-06-25 at 18:28, Robert Ferney wrote:
> > I took a closer look at the error log.
> > It appears that the Provider is trying to handle the request for the
> > stylesheet even though the request is outside of the location that it is
> > supposed be handling,
> > 
> > so, perhaps more relevant question.
> > How do you get your provider to ignore requests for stuff it shouldn't
> > be handling in the first place.
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Provider Problems

2003-06-25 Thread Robert Ferney
Ok, found the documentation for this..
http://www.axkit.org/wiki/view/AxKit/Apache::AxKit::Provider#
silly me.

On Wed, 2003-06-25 at 18:28, Robert Ferney wrote:
> I took a closer look at the error log.
> It appears that the Provider is trying to handle the request for the
> stylesheet even though the request is outside of the location that it is
> supposed be handling,
> 
> so, perhaps more relevant question.
> How do you get your provider to ignore requests for stuff it shouldn't
> be handling in the first place.
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



selecting stylesheets

2003-06-25 Thread Robert Ferney
Another question.

is it possible to use the directives..

AxAdd*Processor

AxAddDynamicProcessor

and more than one of 

AxAddPlugin Apache::AxKit::StyleChooser::*

modules together in the same pipeline, such that each stage controls the
choice of stylesheet(s) for it's section?

I think there was one that would let you specify style sheets according
to which browser the client was using as well. 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Provider Problems

2003-06-25 Thread Robert Ferney
I took a closer look at the error log.
It appears that the Provider is trying to handle the request for the
stylesheet even though the request is outside of the location that it is
supposed be handling,

so, perhaps more relevant question.
How do you get your provider to ignore requests for stuff it shouldn't
be handling in the first place.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Provider Problems

2003-06-25 Thread Robert Ferney
On Wed, 2003-06-25 at 17:24, Michael Chamberlain wrote:
> >> Any ideas as to what is going on?
> >>
> 
> I'd guess that your stylesheet isn't valid xml.
> 
> Mike.

I thought of that, but when I test the same stylesheet by using an
on-disk version of the xml file the provider is generating and specify
the stylesheet either with the 
  AxAddProcessor text/xsl /xslt/user.xsl
or by adding the specification in via the xml header stylesheet
directive it works, without errors.. 
the stylesheet isn't changing, just not using the provider, which also
works by itself.. ie: I can browse to the provided file, as long as I
don't try to apply a stylesheet.

Attaching the stylesheet ..


http://www.w3.org/1999/XSL/Transform";
version="1.0">

http://www.w3.org/TR/REC-html40/loose.dtd";
cdata-section-elements = ""
indent = "yes"
media-type = "text/html" /> 


  

  
  




  



  
  
  
  
  
  






  

  


  mailto:{.}";>

  





  

  


  





   
 
   




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Provider Problems

2003-06-25 Thread Robert Ferney
PS: I tried making a plain on disk xml file in another directory like
such..
---



  rob
  Robert
  Robert William Ferney
  Ferney
  [EMAIL PROTECTED]


and it works

On Wed, 2003-06-25 at 17:19, Robert Ferney wrote:
> I'm having trouble using a Provider, when I try to specify a Stylesheet.
> 
> my .htaccess file looks like this.
> -
> 
>   PerlHandler AxKit
>   AxProvider Edu::Provider::Student
> 
> #  AxAddProcessor text/xsl /xslt/user.xsl
> 
>   AddType text/xml .xml
>   AddHandler axkit .xml
> 
> -
> The Provider output looks like this.
> -
> 
> 
>   rob
>   Robert
>   Robert William Ferney
>   Ferney
>   [EMAIL PROTECTED]
> 
> -
> When I uncomment the AxAddProcessor I get the following error in my
> apache error log.
> --
> compilation error: file /user/rob.xml element users
> xsltParseStylesheetProcess : document is not a stylesheet
> [Wed Jun 25 17:00:01 2003] [error] [client 192.168.0.4] [AxKit] [Error]
> Can't call method "transform" on an undefined value at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm line 120.
> --
> Any ideas as to what is going on?
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Provider Problems

2003-06-25 Thread Robert Ferney
I'm having trouble using a Provider, when I try to specify a Stylesheet.

my .htaccess file looks like this.
-

  PerlHandler AxKit
  AxProvider Edu::Provider::Student

#  AxAddProcessor text/xsl /xslt/user.xsl

  AddType text/xml .xml
  AddHandler axkit .xml

-
The Provider output looks like this.
-


  rob
  Robert
  Robert William Ferney
  Ferney
  [EMAIL PROTECTED]

-
When I uncomment the AxAddProcessor I get the following error in my
apache error log.
--
compilation error: file /user/rob.xml element users
xsltParseStylesheetProcess : document is not a stylesheet
[Wed Jun 25 17:00:01 2003] [error] [client 192.168.0.4] [AxKit] [Error]
Can't call method "transform" on an undefined value at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm line 120.
--
Any ideas as to what is going on?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help! Wiki Woes

2003-06-19 Thread Robert Ferney
On Thu, 2003-06-19 at 11:40, Michael Kröll wrote:
> 
> A first XIMS beta package should be available by the next week, I'll
> announce it here then.
> 
> michael

This appears to be well suited for xhtml where the document root is 
 
would it work as well if the document root were a  instead?
I need to be able to assemble the components for the resulting pages
dynamically. 

also, I was unable to determine from my brief perusal of the website, if
the XIMS was itself extensible, meaning, can I add my own xml dtd's or
otherwise defined components? 

It's almost as if I need the components of a CMS system without having
the actual CMS.

-Rob




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help! Wiki Woes

2003-06-19 Thread Robert Ferney
How do I get AxKit to edit the source XML document as in a Wiki?

I'm working on a system which would be similar in concept to an
educational content management system.

In specifics there are several blocks of content that may or may not be
shown depending on the related logic involved.

My thought was to have the source xml file on the disk contain all of
the content blocks as well as the parameters for the logic. 

and then have several WIKI like edit views of that file for editing the
various parts of that source document. 

I'm still in the design stages for this project, and have been doing
some experimenting with AxKit so far and have acquired rudimentary
understanding of XSLT, XPathScript, XSP, and SAX.

However, a best fit choice for enabling an axkit pipeline to be able to
perform the basic Create, Edit, and Delete functions on the source xml
file have eluded me. 

a few notes about my application needs. 

Specifically this will be working with the math and sciences.. 

I need the content authors to be able to enter in verbage with
superscript and subscript notations as well as the basic heading, and
emphasis markup, as well as Greek symbols. They will want to be able to
specify their formula variables in the text verbage that the wiki will
need to deal with. Since the content authors are not likely to ever even
know what PERL is, POD format Wiki may not be a reasonable choice (wish
it was so I could just use the POD Wiki module )

The wiki will also need to be able to deal with the formula snipets that
will be used in the logic for each page. 

The content will also need to be able to have images for formula and
illustration included.. ( Planning on using MathML if possible eventualy
)

in any case. Any help would be appreciated, 

Robert Ferney


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AxKit Install Help!

2003-02-07 Thread Robert Ferney
Installed XML::LibXML 1.54_03 and that seems to have fixed it thanks


On Fri, 7 Feb 2003, Matt Sergeant wrote:

> On Friday, Feb 7, 2003, at 19:49 Europe/London, Robert Ferney wrote:
>
> > not ok 7
> > # Test 7 got: '0' (t/test_module.pl at line 11 fail #4)
> > #   Expected: '1' (Bareword "XML_COMMENT_NODE" not allowed while
> > "strict
> > subs" in use at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
> > Bareword "XML_TEXT_NODE" not allowed while "strict subs" in use at
>
> OK, you either need XML::LibXML 1.52, or XML::LibXML 1.54_03.
>
> 1.53 is broken - there'll be code in the final 1.6.1 Makefile.PL to
> make sure you don't have that version.
>
> Matt.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: AxKit Install Help!

2003-02-07 Thread Robert Ferney
Compliance

On Fri, 7 Feb 2003, Matt Sergeant wrote:
> Nuts...
>
> Show me the output of:
>
> $ make test TEST_VERBOSE=1 TEST_FILES=t/02language.t
>
>
make[1]: Entering directory `/root/.cpan/build/AxKit-1.6/lib/Apache/AxKit'
make[1]: Leaving directory `/root/.cpan/build/AxKit-1.6/lib/Apache/AxKit'
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;'
t/02language.t
t/02language1..9
ok 1
ok 2 # Skip(XML::Handler::AxPoint prerequisite module not available :
Can't locate XML/Handler/AxPoint.pm in @INC (@INC contains: blib/arch
blib/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at
t/test_module.pl line 18.
)
ok 3
ok 4
ok 5 # Skip(XMLNews::HTMLTemplate prerequisite module not available :
Can't locate XMLNews/HTMLTemplate.pm in @INC (@INC contains: blib/arch
blib/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at
t/test_module.pl line 18.
)
ok 6 # Skip(XMLNews::HTMLTemplate prerequisite module not available :
Can't locate XMLNews/HTMLTemplate.pm in @INC (@INC contains: blib/arch
blib/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at
t/test_module.pl line 18.
)
not ok 7
# Test 7 got: '0' (t/test_module.pl at line 11 fail #4)
#   Expected: '1' (Bareword "XML_COMMENT_NODE" not allowed while "strict
subs" in use at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_TEXT_NODE" not allowed while "strict subs" in use at
blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_CDATA_SECTION_NODE" not allowed while "strict subs" in use
at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_ELEMENT_NODE" not allowed while "strict subs" in use at
blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_ENTITY_REF_NODE" not allowed while "strict subs" in use at
blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_DOCUMENT_NODE" not allowed while "strict subs" in use at
blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_ELEMENT_NODE" not a

Re: AxKit Install Help!

2003-02-07 Thread Robert Ferney
On Fri, 7 Feb 2003, Matt Sergeant wrote:
> On Fri, 7 Feb 2003, Robert Ferney wrote:
> > On Thu, 6 Feb 2003, Kip Hampton wrote:
> > > Which tests failed?
> >
> > Running make test
> > t/02languageFAILED test 7
> > Failed 1/9 tests, 88.89% okay (less 3 skipped tests: 5 okay,
> OK, thi is the same problem as reported earlier - either just install
> XML::LibXML::Common, or comment out the line in XSP.pm that refers to that
> module.

Strange

cpan> install XML::LibXML::Common
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Fri, 07 Feb 2003 02:54:25 GMT
XML::LibXML::Common is up to date.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: AxKit Install Help!

2003-02-07 Thread Robert Ferney
On Thu, 6 Feb 2003, Kip Hampton wrote:
> Which tests failed?

Ok, after switching to my RH7.3 box, and upgrading a couple of the RPMs
and installing sabletron, and js and upgrading libxml2

Forced the install of Apache::Request cause it was complaining about some
mod_php.so not loading.. but I don't use php..

I still cant get AxKit to install...
-Rob

make test log follows
--
Running make test
make[1]: Entering directory `/root/.cpan/build/AxKit-1.6/lib/Apache/AxKit'
make[1]: Leaving directory `/root/.cpan/build/AxKit-1.6/lib/Apache/AxKit'
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00basic...ok
t/01providerok
t/02languageFAILED test 7
Failed 1/9 tests, 88.89% okay (less 3 skipped tests: 5 okay,
55.56%)
t/03stylechooserok
t/04plugins.ok
t/05mediachooserok
Failed TestStat Wstat Total Fail  Failed  List of Failed
---
t/02language.t91  11.11%  7
3 subtests skipped.
Failed 1/6 test scripts, 83.33% okay. 1/24 subtests failed, 95.83% okay.
make: *** [test_dynamic] Error 11
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




AxKit Install Help!

2003-02-06 Thread Robert Ferney
Been trying to install AxKit on RH 8.0 figured out that they had installed
Apache 2.0.. removed it, and installed Apache 1.3 something and the
matching mod_perl from source..
then attempted CPAN install of AxKit.. and the tests failed on a fiew
modules...

any hints as to what's up?
I'd like to use or atleast try AxKit for the sites I'm developing, but I
won't be able to if it dosn't work.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]