Перейти к содержимому


Фотография
- - - - -

XML Feed / Form Posting


Лучший Ответ Kess , 14 December 2013 - 19:09

Hello,

 

I think it will be possible to implement essential functionality that you specified by making only small changes in the JBZoo code (in order to enable e-mail notifications and auto unpublishing). This file contains some functions that are executed on different item triggers: media/zoo/applications/jbuniversal/framework/events/jbevent.item.php. You can try to use it in order add an e-mail notification, for example.

 

Update/unpublishing of existing records can be easily done using "My Submissions" menu type.

 

XML functionality and multi-website feature is much more complex task. You'll have to make most of the development by yourself so it all depends on your skills.

 

In general, it seems that using JBZoo for this task is a viable idea.

Перейти к сообщению


  • Закрытая тема Тема закрыта
В теме одно сообщение

#1 renee

renee

Отправлено 13 December 2013 - 13:22

Hi

 

I'd like to investigate the potential of using the JBZoo app as a directory solution for several sites. The content of the directory will be identical for each site but the filtered views will be different on each site.

 

It must be possible for a third party to create a new record in the directory by auto posting to a form (which I will make  accessible only via an IP restricted page).

 

There are several essential criteria:

  • The record contains a dozen or so different fields of dates / free text / categories etc.
  • The form post occurs as a single transaction no login no antispam etc. (hence the IP restricted access)
  • One field is an e-mail address. Once a record is created an e-mail must be sent to this address with a success script - which will be text content. It would be helpful if an  unique ID was sent identifying the directory record.
  • Each record created will be published in the directory for a set period of time eg. 1 month. After that period expires the record will no longer be visible in the directory.

It would be helpful - but not essential if:

  • Existing records could be updated / unpublished via a similar form post method. It could be a d different form or the same form.

An alternative to form posting is to accept an XML file and process the content of that.

 

 

I understand that JBZoo app is not configured natively to handle this type of work.

 

At this stage I need to understand if it is viable to use the front end form post method (in accordance with the above criteria) to create and administer records in a JBZoo app.

 

As mentioned at the start of this post this solution will be rolled across several identical (in structure) sites.  I anticipate building a form for each independent site. It is possible that a server side solution may exist whereby one transaction updates each site YBZoo DB simultaneously. I imagine this would be an XML solution though and am open to suggestions.

 

Comments on feasibility and size of challenge appreciated.

 

kind regards, Toby


  • 0

#2 Kess

Kess

Отправлено 14 December 2013 - 19:09   Лучший Ответ

Hello,

 

I think it will be possible to implement essential functionality that you specified by making only small changes in the JBZoo code (in order to enable e-mail notifications and auto unpublishing). This file contains some functions that are executed on different item triggers: media/zoo/applications/jbuniversal/framework/events/jbevent.item.php. You can try to use it in order add an e-mail notification, for example.

 

Update/unpublishing of existing records can be easily done using "My Submissions" menu type.

 

XML functionality and multi-website feature is much more complex task. You'll have to make most of the development by yourself so it all depends on your skills.

 

In general, it seems that using JBZoo for this task is a viable idea.


  • 0




Click to return to top of page in style!