Hello. Contacted the BLoggerA template. I stumbled upon the source of the widget, which displays "Related messages". I decided to pick it up, check it out. Because of something, the function is not called, which is returned in the response with the argument of the json-data, this appeal looks like this: `
<script expr:src='/feeds/posts/summary/?alt=json-in-script&callback=results_labels&max-results=6' type='text/javascript' /> In theory, the blogger should have created a source of the form at the place of this call and, accordingly, he would then normally work in the interpreter.
<script type='text/javascript'> results_labels({"":"", "":""}); </script>
but nothing happens, something went wrong in his universe. In this function call, the data is parsed and pushed into arrays for convenience ... pictures, links, and others. Next, two functions are called where the HTML objects are generated and filled with data with output to the DOM:
<script type='text/javascript'> removeRelatedDuplicates_thumbs(); printRelatedLabels_thumbs("<data:post.url/>");</script> What can be wrong? At the end of the day, I had already loaded those data with Ajax and rewrote the output into a document, but then so ... an emergency case. I would like the Bloggera option to work.