Wednesday 22 February 2006 1:34:28 pm - 14 replies
hello,
I've got this scenario:
- one internet server running ezp
- n (5 actually) LAN with an ezp intranet server each
- each ezp has private content, but the same content classes
the requirement is to publish some of the intranet content to the internet server. and do it automatically, with a "publish to web" button (and "delete from web"
.
to throw away the 5 intranet servers and to add 5 siteaccesses to the internet server is not possible because of privacy concerns, very specialized intranet and bandwidth.
what I've seen:
- http://ez.no/community/contribs/import_export/import_xml_data do provide an import, but not export
- http://ez.no/community/contribs/import_export/csv_extract_pubsvn where is FREECPD?
- http://ez.no/products/solutions_and_software/content_server we may buy a license, but that's not exactly what we need
- http://ez.no/doc_hidden/ez_publis...manual/3_6/reference/modules/package it is not intended to be used as import/export of content, but of ezp setups, isn't it?
up to now ezpackage looks like the right way to go, something like:
<b>publisher</b>
// A new nice pakage ... $package =& eZPackage::create( $name, array() ); $package->remove(); // Get an ezcontentobjectpackagehandler ... $handler =& eZPackage::packageHandler( "ezcontentobject" ); $handler->addNode( $nodeID, false ); $options = .... $handler->generatePackage( $package, $options ); $package->setAttribute( 'is_active', true ); $package->store(); $path = $package->archive( eZPackage::temporaryExportPath() . '/' .$name . '.tgz' ); // Send to server ... // Call ezpackage::import on server ...
<b>server</b>
...
d.
Modified on Thursday 23 February 2006 10:22:09 am by david e
Thursday 23 February 2006 3:18:05 pm
Hi,
Haven't tried it, but I think the best way of doing it would be to use a soap server on the internet website (to handle the publish requests from the intranets) and a custom event on the publication workflows on the intranets (with a soap client that's going to publish the content on the intranet by using the soap server).
From what I read, the soap extension Kristoff (or Paul?) developped seems to be more featured than the default ez one.
Let us know if you find something.
X+
Thursday 23 February 2006 6:07:37 pm
Dear David,
The content server actually works with ezpackages over soap.
From your current post it looks to me that we can deliver about 90% - 100% of what you need with the current features of the content server. We would be of course happy to introduce new features to our tool.
If you are interested are interested in knowing more send me an email to bjoern [at] xrow.de
Finally... you asked Where is FREECPD?
FREECPD is a network of websites. read more at http://freecpd.info/
Modified on Thursday 23 February 2006 6:16:21 pm by Björn Dieding@xrow.de
Thursday 23 February 2006 6:47:54 pm
@Xavier:
I didn't release our nusoap server to the community yet...
but I've uploaded it to pubsvn now ( http://pubsvn.ez.no/community/trunk/extension/nusoap ) ![]()
It has been a while since I made it and the nusoap library doesn't get too many updates, so I doubt it's compatible with eZ publish 3.7 / PH 4.4.
Docs are still missing so I give a quick install tip for those who want to try it already: copy nusoap.php from the install folder to your eZ publish root directory and add a new virtual host to your Apache config which rewrites all requests to it. Enable the nusoap extension, and then you can try the example service at <i>http://yournewvirtualhost/helloworld</i>.
Tuesday 21 March 2006 2:57:36 pm
Just an comment.
Nusoap server extension (developed by Kristof) does work with eZ publish 3.7 / PH 4.4 combination (at least in my case ![]()
Currently using it to connect eZ Publish website with custom .NET app.
Thanx for great job!
Modified on Tuesday 21 March 2006 2:57:56 pm by Igor Vrdoljak
Wednesday 22 March 2006 9:26:15 am
I added the NuSOAP extension to the contributions: http://ez.no/community/contribs/applications/nusoap .
Friday 14 April 2006 12:42:28 pm
I am using nusoap extension as a connector between custom ASP.NET web app (special case of online shop with existing back-end app) and ez-based web shop front-end.
It is still in pilot/testing stage but generally is used for developing number of web methods for synchronization between two systems.
Igor
Monday 01 November 2010 12:23:16 pm
hello,
I had down downloaded the nusoap extension from the trunk.
http://svn.projects.ez.no/nusoap/trunk/extension/
It gives me error:
......
Please can u give me any solution regarding this problem?
thanks.
Monday 01 November 2010 2:28:51 pm
@namita: in the nusaop distribution all the php classes are present twice: each file in a class of its own and one big file with all classes together. Just delete the file extension/nusoap/classes/nusoap.php and you will be ok.
Btw, could you please create a new forum thread when you have new questions instead of adding them to very old threads that are only slightly related?
You must be logged in to post messages in this topic!