SEO iframe Replacer is a wsgi middleware to replace iframes containing ‘src’ attribute by its rendered html code. It is used to allow content rendered by Ajax to be indexed by search engines like Google. Typical usage on a django’s WSGI script:
import os
from django.core.wsgi import get_wsgi_application
from wsgi_seo_iframe import IframeReplacerMiddleware
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
application = get_wsgi_application()
application = IframeReplacerMiddleware(application)
Requirements
This packege requires PhantomJS to be installed manually.
You can download a compatible version of PhantomJS here: http://phantomjs.org/download.html
In Debian based systems you can install it using: sudo apt-get install phantomjs
Release files for wsgi-seo-iframe 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wsgi-seo-iframe-0.1.1.tar.gz | 12.0 kB | Details |
Release files / wsgi-seo-iframe-0.1.1.tar.gz
| Download URL | wsgi-seo-iframe-0.1.1.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38ca4502287731618c75a76bd6d8bb740d8a4904bb60803863ebd3f81cd070e9
|
|
BLAKE2b-256 checksum How to use checksums |
ee8279a4295e8a44f71cea768569eefa2d7dcb6e509fbc237d33beafb9708ff8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |