Re: [sword-devel] PHP bindings

2024-01-30 Thread Patrick Stephan
I attempted to compile the bindings for PHP as well a while ago, but, if I remember correctly, these bindings were made for PHP 4 and are not compatible with modern PHP. So I started messing around and built a mostly working PHP extension for PHP 8.x. I am not very knowledgeable about C, C++, o

Re: [sword-devel] PHP bindings

2024-01-30 Thread Matěj Cepl
On Tue Jan 30, 2024 at 10:33 AM CET, Aim for NaN wrote: > This errors out, saying that std_list.i cannot be found for templates.i Yes, it seems to be missing in swig templates for PHP (if that’s the problem … I am one of few happy programmers who know absolutely nothing about PHP), but how difficu

[sword-devel] PHP bindings

2024-01-30 Thread Aim for NaN
Looking to build for Swig 4.1. I run these commands: cd bindings/swig/package libtoolize --force ./autogen.sh ./configure make phpswig It errors out, talking about unknown options. So, I modify the command. swig -php -c++ -o php/Sword.cxx -I. -I/usr/include/sword ./sword.i This errors out,

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Greg Hellings
The language contribution for it just not have needed it, and no one has bothered to add it since. --Greg On Thu, Apr 13, 2023, 06:49 Patrick Stephan wrote: > Do you have any idea why? > > - Patrick > On Apr 13, 2023 at 6:40 AM -0500, Greg Hellings , > wrote: > > Without the missing std_list.i

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Patrick Stephan
Do you have any idea why? - Patrick On Apr 13, 2023 at 6:40 AM -0500, Greg Hellings , wrote: > Without the missing std_list.i file, it won't. If they've added that into > their head, then you'll be golden. But it has been missing since the days of > PHP4. > > --Greg > > > On Thu, Apr 13, 2023,

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Greg Hellings
Without the missing std_list.i file, it won't. If they've added that into their head, then you'll be golden. But it has been missing since the days of PHP4. --Greg On Thu, Apr 13, 2023, 06:12 Patrick Stephan wrote: > Something I discovered last night is that swig installed from apt-get > (which

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Patrick Stephan
Something I discovered last night is that swig installed from apt-get (which I am doing) is at version 4.0, which supports up to php 7.4. Tonight, I will attempt to build swig from source, which supports php 8. I’m crossing my fingers that that helps. - Patrick On Apr 13, 2023 at 6:05 AM -0500,

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Greg Hellings
Patrick, It has been a long time since I touched the PHP bonding build process. But the basic shortcoming you are encouraging is that Swig lacks support for converting a list from C++ into PHP. This isn't because PHP has no list, but because Swig bindings for PHP never got it added, at least not

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-12 Thread Patrick Stephan
Alright... So I've gotten a little bit farther... I was missing the `libtoolize --force` command before autogen. After including that command and replacing the php4 references with php8 in the php.m4, Makefile.am, and Makefile.in, I no longer get the "No rule to make target 'phpswig'. Stop." er

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-11 Thread Peter von Kaehne
I am not on my computer and speak from old memory but there is a two-step for Perl so I guess that may be for php too . Sent from my phone. Please forgive misspellings and weird “corrections” > On 12 Apr 2023, at 06:46, Patrick Stephan wrote: > >  > Hello! > > First off, I want to thank e

[sword-devel] PHP SWIG Bindings and Extension Development

2023-04-11 Thread Patrick Stephan
Hello! First off, I want to thank everyone for their work in this project. It's an incredible work to make God's word more readily available. As the subject of the email suggests, I am trying to interface with the sword library with PHP. I am attempting to use the SWIG bindings provided, but th

Re: [sword-devel] PHP programmers - Re: Glaubensstimme archive

2016-02-08 Thread Michael H
SimpleXML export https://www.dokuwiki.org/plugin:simplexml looks like a very good starting point. On Mon, Feb 8, 2016 at 2:12 AM, Peter von Kaehne wrote: > As far as I understand Glaubesstimme is produced in Dokuwiki and then > uses Dokuwiki plugins to export into various formats. > > So, in o

Re: [sword-devel] PHP programmers - Re: Glaubensstimme archive

2016-02-08 Thread David Haslam
I have added this find to our wiki page http://crosswire.org/wiki/Non-CrossWire_Text-Development_Projects#Collections The extra visibility might prompt someone to run with it. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/Glaubensstimme-archive-tp4656019p465603

[sword-devel] PHP programmers - Re: Glaubensstimme archive

2016-02-08 Thread Peter von Kaehne
As far as I understand Glaubesstimme is produced in Dokuwiki and then uses Dokuwiki plugins to export into various formats.  So, in order to make things easy and fast we simply would need to create a Dokuwiki plugin which could produce one of our import formats.  I do not know php and would not k

Re: [sword-devel] php bindings

2007-02-25 Thread Brent Kirkley
Hey, that 'Bible Tool' is pretty cool, I didn't see any way to jump to a specific point in the bible though just word searches. If I wanted to tell a newbie to start reading the book of Mark or from Mark 1-3 or something .. is there another interface that I missed? This is much closer to what I

Re: [sword-devel] php bindings

2007-02-25 Thread Troy A. Griffitts
Brent, Have you seen our web-based software: http://crosswire.org/study Brent Kirkley wrote: > Yeah, I see what your saying. However at Sun when we are rebuilding > software, at a certain point we look at completely rebuilding from the > ground up with an entire new standard ..

Re: [sword-devel] php bindings

2007-02-25 Thread Brent Kirkley
Yeah, I see what your saying. However at Sun when we are rebuilding software, at a certain point we look at completely rebuilding from the ground up with an entire new standard .. we do this just to shed the weight and work arounds of the older architecture. So where I was going with was if the

Re: [sword-devel] php bindings

2007-02-25 Thread Jonathan Morgan
On 2/24/07, Brent Kirkley <[EMAIL PROTECTED]> wrote: > > I'm interested in participating in a php version of the sword software. > According to the Osis docs the bible texts aren't too var removed from > regular xml docs so parsing them out shouldn't be that bad. Also, I was > thinking.. instead o

Re: [sword-devel] php bindings

2007-02-24 Thread Brent Kirkley
I'm interested in participating in a php version of the sword software. According to the Osis docs the bible texts aren't too var removed from regular xml docs so parsing them out shouldn't be that bad. Also, I was thinking.. instead of trying to incorporate all of these C libs into the php buil

Re: [sword-devel] php bindings

2007-02-07 Thread Brian Smith
Thanks Jason, I think I am going to try to find someone to help me parse data into a MySQL database, so I can just use it that way, rather than trying to interface with the core software libs. If I can just get some core data searchable, then that's all I really need. Brian On 2/7/07, Jason Tur

Re: [sword-devel] php bindings

2007-02-07 Thread Jason Turner
Technically it is possible to build a PHP library with the SWIG bindings which are already part of the source tree. However, I have only attempted it once or twice without much luck. If you are savvy with the PHP module build system you might be able to get it to work. Otherwise, I don't think I wo

[sword-devel] php bindings

2007-02-05 Thread Brian Smith
Hello, Is anyone using a PHP binding or interface to the sword project? I would like to set up a web application without using the java/tomcat system available from the gnome folks, if at all possible. I have a custom PHP app already built, and I would like to add to it an interface to use swor

Re: [sword-devel] PHP regex

2003-01-13 Thread David's Mailing List and Spam Receiver
On Sunday 12 January 2003 03:48 pm, Daniel Adams wrote: > been programming in C/C++ for over 10 years. Another question that came up, > is does anybody have any information for PHP and regular expression > searching, I ask this because I am trying to decipher some of the tagging > code that convert

[sword-devel] PHP

2003-01-11 Thread Daniel Adams
I think I am getting some ideas for my desire for PHP and being able to read the verses from my PHP stuff and be able to display them, one question that came up is what would the name and the syntax of the function to display a single verse when given a verse name (ie Genesis 1:1)? If a different f

Re: [sword-devel] PHP?

2002-11-11 Thread Joachim Ansorg
yes, these bindings support also Perl. See www.swig.org for more info. Joachim > So it is better to use the bindings/swig then the bindings/perl? > > On Mon, 2002-11-11 at 10:33, Joachim Ansorg wrote: > > bindings/perl is an old thing, bindings/swig is a Swigt binding which can > > be used to gen

Re: [sword-devel] PHP?

2002-11-11 Thread Chad Snow
So it is better to use the bindings/swig then the bindings/perl? On Mon, 2002-11-11 at 10:33, Joachim Ansorg wrote: > bindings/perl is an old thing, bindings/swig is a Swigt binding which can be > used to generate Perl, PHP, TCL etc. bindings with much more powerful > functions. > > Joachim >

Re: [sword-devel] PHP?

2002-11-11 Thread Joachim Ansorg
bindings/perl is an old thing, bindings/swig is a Swigt binding which can be used to generate Perl, PHP, TCL etc. bindings with much more powerful functions. Joachim > I get this error message when I try make in the bindings/perl. > > Sword.xs: In function 'void XS_Sword__VerseIterator__parse_

Re: [sword-devel] PHP?

2002-11-10 Thread Chad Snow
I get this error message when I try make in the bindings/perl. Sword.xs: In function 'void XS_Sword__VerseIterator__parse_verse_list (CV *)': Sword.xs:234: parse error before '=' make: *** {Sword.o} Error 1 Can anyone help? What is the difference between bindings/perl and bindings/swig? Both s

RE: [sword-devel] PHP?

2002-11-10 Thread Daniel Adams
] [mailto:owner-sword-devel@;crosswire.org] On Behalf Of David's Mailing List and Spam Receiver Sent: Sunday, November 10, 2002 4:56 PM To: [EMAIL PROTECTED] Subject: Re: [sword-devel] PHP? On Sunday 10 November 2002 05:28 pm, Daniel Adams wrote: > I am not sure, what I am desiring is a way to

Re: [sword-devel] PHP?

2002-11-10 Thread David's Mailing List and Spam Receiver
On Sunday 10 November 2002 05:28 pm, Daniel Adams wrote: > I am not sure, what I am desiring is a way to include verses (like > diatheke output) in a ASP or PHP type web page. > > I appreciate the comments. Also where/how do I look to see what these > bindings/perl are? bindings/perl is just a dir

RE: [sword-devel] PHP?

2002-11-10 Thread Daniel Adams
] [mailto:owner-sword-devel@;crosswire.org] On Behalf Of David's Mailing List and Spam Receiver Sent: Sunday, November 10, 2002 3:14 PM To: [EMAIL PROTECTED] Subject: Re: [sword-devel] PHP? On Sunday 10 November 2002 03:30 pm, Joachim Ansorg wrote: > We have SWIG bindings in sword/bindings/swig wh

Re: [sword-devel] PHP?

2002-11-10 Thread David's Mailing List and Spam Receiver
On Sunday 10 November 2002 03:30 pm, Joachim Ansorg wrote: > We have SWIG bindings in sword/bindings/swig which work pretty well for > Perl (tested only with this). > > According to www.swig.org PHP is also supported so you may try getting it > working. With the bindings you can write code with the

Re: [sword-devel] PHP?

2002-11-10 Thread Joachim Ansorg
We have SWIG bindings in sword/bindings/swig which work pretty well for Perl (tested only with this). According to www.swig.org PHP is also supported so you may try getting it working. With the bindings you can write code with the original classnames, you can creates modules, get text from them

[sword-devel] PHP?

2002-11-10 Thread Daniel Adams
The other day there was a post to this mailing list about some PHP extensions or support. I am curious even if this is just in development how it is supposed to work. I am interested in helping with this one if people are at a point of needing help with it. I had an idea relating to my prior questi

[sword-devel] PHP Bindings

2002-11-09 Thread David's Mailing List and Spam Receiver
Did the php bindings make it into 1.5.5? and if so how do I go about installing/compiling them? -- Davids Mailing List And Spam Receiver Keeping me (relatively) spam free since 2002

[sword-devel] PHP

2002-08-01 Thread Joseph Hagerty
Greetings all. New to the list, so I apologize if this question has been addressed previously. (I did look at the archive though..) I see that there is a module for accessing the API from Perl, but has anyone done anything with PHP? I see a lot of CMS packages in use using php and am planni