Say you have a WordPress theme you like, but want to make use of a bunch of Django code that’s already written. Is there a good and easy, and performant way, of sucking in HTML that is output from Django and displaying it inline in a WordPress posting, or page without using browser frames? Any good examples of this?
Leave a Reply
You must be logged in to post a comment.
You can do this by outputting the content in Django as usuall and then making a WordPress plugin with code for downloading it from Django’s URL
But it’s a really bad idea. If you just want to use the wordpress theme port it to Django. This strange PHP/Python hybrid will be a nightmare to maintain, especially if at any point you decide to add more features or make it more dynamic.
if the djanjo-code generates a rss-feed, you could use a plugin like wp-o-matic to import posts from your django website into wordpress.