mariusz zasadniczo
Posts: 0
Joined: Mon Mar 31, 2014 3:08 pm

External Data sources (WordPress pages)

Hi,
I'm building an application and I'd like to implement external data and display it in app.

This data is edited by editor without html knowledge. So I built a long table in wordpress and try to show it up...

I was wondering about displaying wordpress page (that's tables) in an iframe of app page... Is there any other simple way to display external, often changeable content in an app?

Thanks!
Kind regards
M

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

External Data sources (WordPress pages)

Hello!
If you can retrieve not entire page, but just content you need to show - you can show it in app the way you need. To retrieve content only you can search for API in cms, or if cms doesn't support corresponding API, you can parse page data and form content this way (in server code or generic service), but it's more complicated way which requires JS knowledge.
If you are not success with retrieving content, show entire page in iframe.

mariusz zasadniczo
Posts: 0
Joined: Mon Mar 31, 2014 3:08 pm

External Data sources (WordPress pages)

Hi Maryna, Thank you.
Could you please provide some hints for that parsing?
Have you ever done any WordPress integration as a CMS to the application data?

Thanks
M

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

External Data sources (WordPress pages)

"some hints for that parsing" - unfortunately there is no examples. The point is that you retrieve entire image, then work with page content as with string - delete unnecessary and leave what you need. All content which is left convert to json, xml.
"ever done any WordPress integration as a CMS to the application data" - we haven't done integration, but there should be a lot of plugins available for WP which could help to implement REST API on your site.

mariusz zasadniczo
Posts: 0
Joined: Mon Mar 31, 2014 3:08 pm

External Data sources (WordPress pages)

Hi Maryna,
Thank you.

I ran JSON API and I received data from my website and I have created the 'service'.
But I have no idea how to parse and insert the data from 'content' parameter into the app page.

I've added a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a as a user to to project: http://appery.io/app/project/5e8d6a62...

Could you please point me how to insert content from program1206 service into 'program' app page?

I've added 'service to a page'
http://docs.appery.io/documentation/r...
but nothing appears on the app page.

Thank you!
Kind regards.

mariusz zasadniczo
Posts: 0
Joined: Mon Mar 31, 2014 3:08 pm

External Data sources (WordPress pages)

Hi Maryna - does the application cache JSON automatically?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

External Data sources (WordPress pages)

Mariusz,

[quote:]does the application cache JSON automatically?[/quote]
No, doesn't cache, if this JSON is received from a service.

[quote:]I have no idea how to parse and insert the data from 'content'[/quote]Could you please post screenshots of service request and response parameters?

mariusz zasadniczo
Posts: 0
Joined: Mon Mar 31, 2014 3:08 pm

External Data sources (WordPress pages)

"Could you please post screenshots of service request and response parameters?" I've already sent you an email with screenshots.
Thanks.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

External Data sources (WordPress pages)

Answered to you directly.

mariusz zasadniczo
Posts: 0
Joined: Mon Mar 31, 2014 3:08 pm

External Data sources (WordPress pages)

I have no reply from you ;(

Return to “Issues”