HTML5 Data Bindings Manual

Learn how to connect your data

In over a hundred pages, we covered everything you need to know about the HTML5 Data Bindings extensions. The article features useful tutorials and videos on how to refresh your HTML5 Data source, How to use nested repeat regions, how to show preloader and many many more. If you still have any questions regarding the extension do not hesitate to contact our Tech support.


Advanced: Using Repeat Children Region in HTML5 Data Bindings

In this tutorial we will show you how to show feed entries on your page using Repeat Children Region.

*You can also check out the video.

How to do it

  1. We designed our page layout where we have an unordered list containing one element with an image and text. We want to repeat the unordered list element on our page so we can display all of the photos in our feed.

  1. Click add new data source button (1). In the HTML5 Data Bindings window, add a name for the Data Source (2), select Picasa - User Album Photos feed (3). We enter the Picasa Photographer User ID and Album ID (4) and change the image thumbnail size (5). When you're done, click OK.
     



  1. Expand (1) the feed so you can see its structure and expand the feed element (2).

  1. Expand the [ entry ] repeating element (1), because it is the feed element containing the info for our Picasa photos and select the parent unordered list element <UL> (2). Choose the [ entry ] repeating element (3), select repeat children from the Smart insert panel (4) and click insert (5).

NOTE: Repeat Children Elements can be applied to any Parent element in a Parent > Child structure


  1. Now we are going to bind the photo and description attributes to our child element. In the expanded media group data element, select URL binding under media thumbnail (1), select img.data.src (2) under the bind to menu and click bind (3). This applies the URL binding to a custom HTML5 data-binding-src attribute.

  1. Now, we will add the description binding under our image. We already removed the dummy text under the image. Select the first attribute under the media description feed element (1) and click insert (2).

  1. This is the result in Live view. You can see that the child element <li> is repeated as many times as there are entries in the feed. This is how you can show feed entries on your page using Repeat Children Region

  1. Here is the second row that we just added inside our main container. You can style your page and preview it in your browser. This is how you can create your grid based layout in just a few minutes.

Lubov Cholakova

Lubov CholakovaLubov has been with DMXzone for 8 years now, contributing to the Content and Sales departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.

See All Postings From Lubov Cholakova >>

Comments

public rss feeds

February 27, 2017 by steve kirchuk
Hi .. I'm trying to grab data from https://www.reverbnation.com/rss/artist_shows_rss/stevekirchuk which is my show rss feed and I am getting an error in HTML 5 Bindings but when I test the feed it displays correctly ... I can also save the feed as an csv .. can I use that as a local file data source in HTML 5 Bindings? Thanks !

February 27, 2017 by Teodor Kuduschiev
Hello Steve, HTML5 Data Bindings requires a JSON data source, it does not work with RSS feeds.

Data Binding

October 20, 2019 by olukorede Fakunmoju
i just bought the database connector 2, and also the html5 data binding, now my issues are how do you bind data that dont require repeat region just to display information on the website, the is no way to do that, also must i buy all your extension because i want to build a database website, i want to display data or update i will need a different extension for that, its to mush please

You must me logged in to write a comment.