Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
WSGI middleware for replacing iframes by their html content, allowing them to be crowled by search engines
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)
This packege requires PhantomJS <http://phantomjs.org/>
_
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
FAQs
WSGI middleware for replacing iframes by their html content, allowing them to be crowled by search engines
We found that wsgi-seo-iframe demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.