Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

WSGI middleware for replacing iframes by their html content, allowing them to be crowled by search engines

Project Description

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 History

Release History

This version
History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wsgi-seo-iframe-0.1.1.tar.gz (12.0 kB) Copy SHA256 Checksum SHA256 Source Jun 20, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting