Madsack+ Viewer WebApp
Description
This simple web application is designed to extract the SEO string from news pages generated by the Arc XP Content Suite CMS. The magic here is in a single regex statement:
json.loads(re.findall('Fusion.globalContent=(.*?);Fusion.globalContentConfig', Article.text)[0])
The resulting JSON blob can now be further processed and displayed in a web application or smartphone app, for example.
Architecture
How do I build this?
- Build the backend container image using
build.sh - Run container - flask is listening on 8088
- Deploy the frontend on a web server of your choice (i used nginx)
- Configure
urlvariable ingetArticlefunction to your backend endpoint