New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.29.1 feeds implementation problems #8541
Comments
Is your JSON atom-like feed are properly structured?
Do you have a code sample where I try your implementation?
Yes Yahoo API reference call wasn't removed. We are going to remove the Yahoo API reference in the next version of WET-BOEW v4.0.30. Although, if the feed plugin the
No, the attribute order don't matter in HTML.
I tried with my local apache server with a .txt file in Chrome and it worked fine.
This should work or as I alternative your can also download the v4.0.29.1 full build and then replace your local files: wet-boew.min.js and wet-boew.js |
Thanks for the response. Does the Feeds widget only now work with a JSON format? If so, is it possible for the Feeds widget to just parse the ATOM xml file, and internally convert this to JSON in the WET framework? A future build perhaps? Our web content management system, like many have been coded to push out XML for the ATOM feeds, in an automated system with web page publishing. Our back-end code must now be updated to push out a duplicate JSON format for this important widget to work. For now it will be a burden for our clients; every time they publish specific pages, they will have to open the XML file, pass it through an XML-JSON converter, upload and publish the JSON file. |
Yes that is true after this patch has been applied: https://github.com/wet-boew/wet-boew/releases/tag/patch-v4.0.21-to-v4.0.29
Yes, the upcoming version of WET-BOEW (4.0.30) would query directly the XML file. PR #8534 is about that. However, that type of fetch might require you to configure the CORS HTTP header on the server. |
Great news. Thanks! |
I am implementing v4.0.29.1 and cannot get the Feeds to work.
I still see references to the Yahoo API when I load my page.
Is there still a Yahoo API reference?
Is it mandatory to place the data-ajax attribute before the href attribute [ I ask because our TinyMCE editor reverses the order of these when it cleans up the mark-up ]
Can the data-ajax reference a .txt file instead of a .json file? [ I ask because .json files are not automatically served up by IIS without configuration changes ]
I downloaded v4.0.29 of the Canada.ca (GCWeb) theme and replaced the 2 JS files with those from v4.0.29.1 Web Experience Toolkit (WET) theme.
Is this correct?
The text was updated successfully, but these errors were encountered: