Forums / Developer / Howto get Information from outside of ezP?

Howto get Information from outside of ezP?

Author Message

Daniel Scheiner

Sunday 12 November 2006 8:50:28 am

Hi!

Is there a way to send a request like "www.test.com/getinformation_on_id=1234" ?
I need some way of reading out object-data like name, age, hobbies, etc.

Do I need a module for that?

In what format would the answer to my request be???

Thanks!!! =)

kracker (the)

Sunday 12 November 2006 11:01:06 am

This information should be simple enough to write additions to your php application to provide eZ publish content object information. You could start by writing a cli script to provide the data first in someway as a proof of concept ...

It really depends on exactly what kind of application, how you want access to the information. This specific choice of how you access the information is important.

<b>Just Write the Code ...</b>

If it's compatible php 4.4.x application you should be able to add code to your existing application to provide the eZ publish content to your application.

And there have got to be plenty examples of how to open up and fetch the data you want. I'd search for people back in the day looking to 'export' data ...

<b>PS</b>
I've added an entry to the wiki based on your forum message :)
<i>http://pubsvn.ez.no/wiki/en/ez/question_what_documentation_about_ez_publish_do_you_feel_is_missing</i>

<i>no?</i>
//kracker
i am nothing ...
<i>14-mansbestfriend_(sole)-dream_i_had_on_my_25th_birthday-cms</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

kracker (the)

Sunday 12 November 2006 4:43:29 pm

Here are some related threads...

how to do a fetch with php
<i>http://ez.no/community/forum/developer/how_to_do_a_fetch_with_php</i>

I've added this link and a number of other examples from the forum into the wiki.
<i>http://pubsvn.ez.no/wiki/en/ez/api_code_samples#eztoc388_1_1_1</i>

//kracker
<i>{"eZ pedia"|use()}
http://ezpedia.org/</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

eZ debug

Timing: Jan 18 2025 18:33:27
Script start
Timing: Jan 18 2025 18:33:27
Module start 'content'
Timing: Jan 18 2025 18:33:28
Module end 'content'
Timing: Jan 18 2025 18:33:28
Script end

Main resources:

Total runtime0.9010 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.9766180.8125
Module start 'content' 0.00710.7304 769.7891548.2891
Module end 'content' 0.73740.1636 1,318.0781332.7422
Script end 0.9010  1,650.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4358210.0002
Check MTime0.00150.1613210.0001
Mysql Total
Database connection0.00080.083510.0008
Mysqli_queries0.827991.88731940.0043
Looping result0.00220.24411920.0000
Template Total0.869296.520.4346
Template load0.00200.225220.0010
Template processing0.867296.241220.4336
Template load and register function0.00020.025010.0002
states
state_id_array0.00130.148210.0013
state_identifier_array0.00110.126520.0006
Override
Cache load0.00170.1910330.0001
Sytem overhead
Fetch class attribute can translate value0.00150.165130.0005
Fetch class attribute name0.00250.281140.0006
XML
Image XML parsing0.00110.117030.0004
class_abstraction
Instantiating content class attribute0.00000.001750.0000
General
dbfile0.00180.1968290.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs