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

A Product to embed/add/migrate content with lxml

Project Description


WARNING: This product contains a view that could be a security RISK!

About the views and behavior

  • This is slightly experimental. Please give feedback and suggestions.
  • The embed views might be insecure, although if you are restrictive with the settings in the control panel you should be able to filter out evil code.

How to embed another webpage to your site

  • go to the control panel.
  • in the medialog.control panel, set default settings for your embed views
  • add a dexterity content type
  • add LXML embed behaviour
  • Add a content type to your site and enter embed details
  • go to http://plonesite/content/scrape_view
  • You probably want to add the view to the contenttype TTW

How add content from another webpage to your site

  • be sure to set up whitelist and url pairs in the control panel
  • go to a folder
  • add /@@createpage?url=http://url/of/somepage
  • go to your folder: a new page should have been added
  • PS: Settings in the medialog control panel and html safe settings are taken into account

How batch add content from other webpages to your site

  • make a CSV file with ‘url’ and ‘selector’ rows
  • go to a folder
  • add /@@createpages
  • select the CSV file
  • A page for each corresponding url & selector will be added
  • In other words, if you add a line with and #content-core, a Page will be added to your site and the body text will be that of #content-core from’s front page.


Espen Moe-Nilssen, Grieg Medialog AS


Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


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
medialog.lxml-0.4.tar.gz (12.4 kB) Copy SHA256 Checksum SHA256 Source Jul 15, 2016

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