I have a website on sites.google and I also have blog on wordpress. I would like to include some CDF files on them. How can it be done?
This free video course available from Wolfram Training site goes through details of CDF web embedding:
Word Press CDF embedding and some other platforms are discussed in detail. sites.google needs to be checked - but if it does work, then it will use same ideas as explained in the course. Most platforms I know use the same set of procedures. There are two main cases to be aware:
1) Advanced site: your site can host files and allow JS plugins - like full Word Press platform hosted on your own domain. Then you host CDF on your own site and use one of two: - Play directly with JS: Web Delivery: Embedded and Full-Screen CDF - or use Wolfram CDF Plugin form wordpress.org - Here is an example
2) Basic generic blog: your site cannot host files and/or does not allow JS plugins. Then external storage and iframe tags can help. Here is an example
You also maybe interested to take a look at: CDF and MediaWiki. All of this is discussed in details in the linked video course.