Skip to content

Instantly share code, notes, and snippets.

@hhje22
hhje22 / aggregate-feed.php
Created March 25, 2012 05:54 — forked from smajda/aggregate-feed.php
Merge multiple RSS feeds with SimplePie
<?php
/* Merge multiple RSS feeds with SimplePie
*
* Just modify the path to SimplePie and
* modify the $feeds array with the feeds you want
*
* You should probably also change the channel title, link and description,
* plus I added a CC license you may not want
*
* Help from: http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/
@hhje22
hhje22 / page.js
Created August 6, 2013 07:25 — forked from m0er/page.js
// Reference
// http://benalman.com/projects/jquery-postmessage-plugin/
// http://softwareas.com/cross-domain-communication-with-iframes
// Related My post
// http://wp.me/p12fxZ-dS
// Wrapper page
var iframeSrc = "http://embedded-website.com/foobar/page.html#" + encodeURIComponent(document.location.href),
$iframe = $("<iframe>").attr("src", iframeSrc).appendTo("#container");