Archive for the ‘php5’ Category

Updated Virtual Machine

Wednesday, December 1st, 2010

Thank you very much for everyone who is trying out our nifty virtual machine package.

With this machine you get a pre configured Ubuntu to try out the IDMLlib.
Be it either with Java and Tomcat or php and the php-JavaBridge or now also with Jruby.

One of our customers is using this and it’s working pretty slick.
Right now there are no examples for this but we will give some sample code as soon as possible.

So welcome Ruby on Rails devs – join in the IDML fun.

Please use our usual formular to order your virtual applicance package.

Access all Stories in a Document using php

Tuesday, August 31st, 2010

This is just a simple working example to access all Text Frames in a document.

Of course you might want to do something with it so I did not stop just outputting this but added a lib to create an ODT file.
ODT is part of the Open Document Format family so you can open it with Openoffice and also with MS Word 2007 SP2+.

(more…)

IDMLlib for Java with PHP

Thursday, May 20th, 2010

Hier finden Sie die deutsche Version dieses Artikels.

Since we did have a couple of requests by PHP coders to work with IDML, IDMLlib and PHP we took a look at the PHP JavaBridge Project on Sourceforge.

To make a long story short – it seems to work ok :-) We will try out some more complex examples to see how stable everything is.

Here is my recipe to make IDMLlib for Java work with apache2, tomcat6, java6 and php5.

Updates for this article:

2010-08-29:

  • Missing JavaBridge: Of course you need the JavaBridge by itself – this was not very clear so far.
  • Inserted the Download Link for the binary Package of the JavaBridge.war
  • Init Script: Missing tomcat policy files for the Init Script
  • Added warning about the right naming of the idmllib.jar

(more…)