HTML5 Data Bindings SEO PHP Support Product Page

Solved

Unterminated reference errors testing SEO plugin functionality

Reported 03 Apr 2014 01:34:01
1
has this problem
03 Apr 2014 01:34:01 Adam Reed posted:
I have 2 wordpress template pages with custom content from the HTML5 data bindings to create a catalog and product detail page. I added the SEO includes to these pages and the supporting files and it seems to be seeing the file, however, when i try and test using ?_escaped_fragment_=true, i'm getting several unterminated reference errors. The 2 pages in question with testing are:
tac.m4dconnect.com/products/?_escaped_fragment_=true
tac.m4dconnect.com/product-detail/?prodid=40&_escaped_fragment_=true

Replies

Replied 03 Apr 2014 12:55:18
03 Apr 2014 12:55:18 Teodor Kuduschiev replied:
Hello Adam,
These pages will not work with HTML5 Data Bindings SEO PHP. The SEO add-on can only detect code on the page itself, it doesn't parse all the javascript include files and you copied all extension javascript code in an external javascript file..
Replied 03 Apr 2014 13:30:27
03 Apr 2014 13:30:27 Adam Reed replied:
So if I copy the extension code into the page will it work? When you say it doesn't parse includes, the bindings and filters files are normally includes so are you just referring to the extension sources code in order to make it work?
Replied 03 Apr 2014 13:35:32
03 Apr 2014 13:35:32 Teodor Kuduschiev replied:
The datasets code that is located here:
tac.m4dconnect.com/wp-content/customjs/catalog.js?ver=1.0
should stay on the page.
Replied 03 Apr 2014 14:49:17
03 Apr 2014 14:49:17 Adam Reed replied:
Thanks Teodor...On the product detail page, I moved the code into the page. I'm not getting the other errors but now i just get "Error: Unexpected token d"

Page: tac.m4dconnect.com/product-detail/?prodid=40&_escaped_fragment_=true
Replied 03 Apr 2014 14:59:54
03 Apr 2014 14:59:54 Teodor Kuduschiev replied:
Hello Adam,
We are currently checking the Unexpected token error.
Replied 03 Apr 2014 15:28:06
03 Apr 2014 15:28:06 Adam Reed replied:
thanks! Is the assumption atleast that the plugin is working if that shows up in the test or are there issues.

thanks again for the quick help!

Reply to this topic