Tagsoup on Web app
Thursday, 23 June 2016 · 7 messages · last reply 24 Jun 2016
BM
Ben Mitchell23 Jun 2016 18:55 #
Hi,
Do you know if there is a simple way to install the tagsoup parser in the basex web app servlet - If so, is there an instruction set?
Also, are there any plans to update the Ubuntu repositories with the latest versions?
Many thanks
Ben
KK
Kristian Kankainen24 Jun 2016 09:43 #
Hi
Nearly related. I sometimes think of wanting to learn to package software for Fedora. Who should I talk with about a responsibility like this?
I guess the workflow would be quite the same for Ubuntu and other Linuxes, so probably it could be automated to quite an extent within the user community?
Best regards
Kristian K
23.06.2016 19:55 Ben Mitchell kirjutas:
Quoted text · Ben Mitchell · 13 lines
> > Hi, > > Do you know if there is a simple way to install the tagsoup parser in > the basex web app servlet - If so, is there an instruction set? > > Also, are there any plans to update the Ubuntu repositories with the > latest versions? > > Many thanks > > Ben >
DK
Hi Ben,
using the zip distribution and starting basexhttp it should work out of the box. Depending how you use BaseX in a web context (i.e. which application container) there are different ways to include external libraries. But in general the jar file has to be put somewhere where the application container can find it, i.e. in a java library path.
Cheers
Dirk
Quoted text · Ben Mitchell · 20 lines
On 06/23/2016 06:55 PM, Ben Mitchell wrote: > > Hi, > > > > Do you know if there is a simple way to install the tagsoup parser in > the basex web app servlet - If so, is there an instruction set? > > Also, are there any plans to update the Ubuntu repositories with the > latest versions? > > > > Many thanks > > Ben > > >
--
Dirk Kirsten, BaseX GmbH, http://basexgmbh.de
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
| Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22
DK
Hi Kristian,
excellent idea! I would very much support this, especially as I use Fedora as well :)
However, packaging is quite different for different distributions, that's one of the reasons why we can't update BaseX in all distros reliably. However, recently there has been some effort to unify application distribution, I personally think flatpak
(http://flatpak.org) is the most promising.
If you want to contribute and srtart exploring flatpak and try to build a BaseX flatpak app it would be more than welcome. If we would have that users from most major distributions (flatpak currently supports debian, ubuntu, fedora, arch and gentoo) would finally be able to use proper package management.
Cheers
Dirk
Quoted text · Kristian Kankainen · 37 lines
On 06/24/2016 09:43 AM, Kristian Kankainen wrote: > > Hi > > Nearly related. I sometimes think of wanting to learn to package > software for Fedora. Who should I talk with about a responsibility > like this? > > I guess the workflow would be quite the same for Ubuntu and other > Linuxes, so probably it could be automated to quite an extent within > the user community? > > Best regards > Kristian K > > > 23.06.2016 19:55 Ben Mitchell kirjutas: >> >> Hi, >> >> >> >> Do you know if there is a simple way to install the tagsoup parser in >> the basex web app servlet - If so, is there an instruction set? >> >> Also, are there any plans to update the Ubuntu repositories with the >> latest versions? >> >> >> >> Many thanks >> >> Ben >> >> >> >
--
Dirk Kirsten, BaseX GmbH, http://basexgmbh.de
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
| Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22
KK
Kristian Kankainen24 Jun 2016 10:16 #
Thanks for the pointers and courage. I will read and report about my progress.
Cheers
Kristian
24.06.2016 10:51 Dirk Kirsten kirjutas:
Quoted text · Dirk Kirsten · 57 lines
> > Hi Kristian, > > excellent idea! I would very much support this, especially as I use > Fedora as well :) > However, packaging is quite different for different distributions, > that's one of the reasons why we can't update BaseX in all distros > reliably. However, recently there has been some effort to unify > application distribution, I personally think flatpak > (http://flatpak.org) is the most promising. > If you want to contribute and srtart exploring flatpak and try to > build a BaseX flatpak app it would be more than welcome. If we would > have that users from most major distributions (flatpak currently > supports debian, ubuntu, fedora, arch and gentoo) would finally be > able to use proper package management. > > Cheers > Dirk > > On 06/24/2016 09:43 AM, Kristian Kankainen wrote: >> >> Hi >> >> Nearly related. I sometimes think of wanting to learn to package >> software for Fedora. Who should I talk with about a responsibility >> like this? >> >> I guess the workflow would be quite the same for Ubuntu and other >> Linuxes, so probably it could be automated to quite an extent within >> the user community? >> >> Best regards >> Kristian K >> >> >> 23.06.2016 19:55 Ben Mitchell kirjutas: >>> >>> Hi, >>> >>> Do you know if there is a simple way to install the tagsoup parser >>> in the basex web app servlet - If so, is there an instruction set? >>> >>> Also, are there any plans to update the Ubuntu repositories with the >>> latest versions? >>> >>> Many thanks >>> >>> Ben >>> >> > > -- > Dirk Kirsten, BaseX GmbH,http://basexgmbh.de > |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz > |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: > | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle > `-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22
MG
Hi,
I pull together BaseX and dependencies (including TagSoup) using a Gradle build script [1].
Haven't updated it for a while but it has all the dependency info and can be edited to use other BaseX versions etc. I use it all the time in my projects. Also works on all platforms that support Gradle.
In case there are issues or suggestions I'd be happy to incorporate them.
Cheers,
--Marc
[1] https://github.com/theapsgroup/basex-gradle-starter
Quoted text · Ben Mitchell · 18 lines
On Thu, Jun 23, 2016 at 6:55 PM, Ben Mitchell <bhjmitchell at gmail.com> wrote: > Hi, > > > > Do you know if there is a simple way to install the tagsoup parser in the > basex web app servlet - If so, is there an instruction set? > > Also, are there any plans to update the Ubuntu repositories with the latest > versions? > > > > Many thanks > > Ben > >
--
--Marc
BM
Thanks Dirk.
I have downloaded the Zip file and run basexhttp. I can see the tagsoup.jar in the package (which I have copied to a java library path) but this is not initially configured to be included in the webapp?
Id be very grateful if you could give me a hint about how to change the settings (and in which file) so the webapp uses the html parser (either for the Jetty or Tomcat context)?
Many Thanks
Ben
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 28 lines
From: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of Dirk Kirsten Sent: 24 June 2016 08:46 To: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] Tagsoup on Web app Hi Ben, using the zip distribution and starting basexhttp it should work out of the box. Depending how you use BaseX in a web context (i.e. which application container) there are different ways to include external libraries. But in general the jar file has to be put somewhere where the application container can find it, i.e. in a java library path. Cheers Dirk On 06/23/2016 06:55 PM, Ben Mitchell wrote: Hi, Do you know if there is a simple way to install the tagsoup parser in the basex web app servlet - If so, is there an instruction set? Also, are there any plans to update the Ubuntu repositories with the latest versions? Many thanks Ben -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22
Written for BaseX 8.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery