Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial Commit of html5mashups

  • Loading branch information...
commit 837d0832651f9da0a411f836994bc553fc109f88 0 parents
@marinosbern authored
1  html/.htaccess
@@ -0,0 +1 @@
+AddType text/cache-manifest .manifest
5 html/README.txt
@@ -0,0 +1,5 @@
+-Filters
+-Drag and Drop
+-Databases
+-Offline Mode
+-History
75 html/ajax1.js
@@ -0,0 +1,75 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+
+/*
+ * Returns an new XMLHttpRequest object, or false if the browser
+ * doesn't support it
+ */
+function newXMLHttpRequest() {
+
+ var xmlreq = false;
+
+ // Create XMLHttpRequest object in non-Microsoft browsers
+ if (window.XMLHttpRequest) {
+ xmlreq = new XMLHttpRequest();
+
+ } else if (window.ActiveXObject) {
+
+ try {
+ // Try to create XMLHttpRequest in later versions
+ // of Internet Explorer
+
+ xmlreq = new ActiveXObject("Msxml2.XMLHTTP");
+
+ } catch (e1) {
+
+ // Failed to create required ActiveXObject
+
+ try {
+ // Try version supported by older versions
+ // of Internet Explorer
+
+ xmlreq = new ActiveXObject("Microsoft.XMLHTTP");
+
+ } catch (e2) {
+
+ // Unable to create an XMLHttpRequest by any means
+ xmlreq = false;
+ }
+ }
+ }
+
+return xmlreq;
+}
+
+ /*
+ * Returns a function that waits for the specified XMLHttpRequest
+ * to complete, then passes it XML response to the given handler function.
+ * req - The XMLHttpRequest whose state is changing
+ * responseXmlHandler - Function to pass the XML response to
+ */
+ function getReadyStateHandler(req, responseXmlHandler) {
+
+ // Return an anonymous function that listens to the XMLHttpRequest instance
+ return function () {
+
+ // If the request's status is "complete"
+ if (req.readyState == 4) {
+
+ // Check that we received a successful response from the server
+ if (req.status == 200) {
+
+ // Pass the XML payload of the response to the handler function.
+ responseXmlHandler(req.responseXML);
+
+ } else {
+
+ // An HTTP problem has occurred
+ handleAjaxError("HTTP error "+req.status+": "+req.statusText);
+ }
+ }
+ }
+ }
18 html/cache.manifest
@@ -0,0 +1,18 @@
+CACHE MANIFEST
+
+#v25
+
+CACHE:
+ajax1.js
+delete.png
+dropbox.png
+html5utils.js
+index.html
+loading.gif
+mashups.js
+refresh.png
+trash.png
+style.css
+
+NETWORK:
+proxy.php
BIN  html/delete.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  html/dropbox.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1  html/error_log
@@ -0,0 +1 @@
+[24-Feb-2011 13:29:01] PHP Warning: fopen() [<a href='function.fopen'>function.fopen</a>]: Filename cannot be empty in /home/bernitsa/public_html/dev/mashups/proxy.php on line 11
65 html/html5utils.js
@@ -0,0 +1,65 @@
+// For discussion and comments, see: http://remysharp.com/2009/01/07/html5-enabling-script/
+/*@cc_on'abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video'.replace(/\w+/g,function(n){document.createElement(n)})@*/
+
+var addEvent = (function () {
+ if (document.addEventListener) {
+ return function (el, type, fn) {
+ if (el && el.nodeName || el === window) {
+ el.addEventListener(type, fn, false);
+ } else if (el && el.length) {
+ for (var i = 0; i < el.length; i++) {
+ addEvent(el[i], type, fn);
+ }
+ }
+ };
+ } else {
+ return function (el, type, fn) {
+ if (el && el.nodeName || el === window) {
+ el.attachEvent('on' + type, function () { return fn.call(el, window.event); });
+ } else if (el && el.length) {
+ for (var i = 0; i < el.length; i++) {
+ addEvent(el[i], type, fn);
+ }
+ }
+ };
+ }
+})();
+
+(function () {
+
+var pre = document.createElement('pre');
+pre.id = "view-source"
+
+// private scope to avoid conflicts with demos
+addEvent(window, 'click', function (event) {
+ if (event.target.hash == '#view-source') {
+ // event.preventDefault();
+ if (!document.getElementById('view-source')) {
+ // pre.innerHTML = ('<!DOCTYPE html>\n<html>\n' + document.documentElement.innerHTML + '\n</html>').replace(/[<>]/g, function (m) { return {'<':'&lt;','>':'&gt;'}[m]});
+ var xhr = new XMLHttpRequest();
+
+ // original source - rather than rendered source
+ xhr.onreadystatechange = function () {
+ if (this.readyState == 4 && this.status == 200) {
+ pre.innerHTML = this.responseText.replace(/[<>]/g, function (m) { return {'<':'&lt;','>':'&gt;'}[m]});
+ prettyPrint();
+ }
+ };
+
+ document.body.appendChild(pre);
+ // really need to be sync? - I like to think so
+ xhr.open("GET", window.location, true);
+ xhr.send();
+ }
+ document.body.className = 'view-source';
+
+ var sourceTimer = setInterval(function () {
+ if (window.location.hash != '#view-source') {
+ clearInterval(sourceTimer);
+ document.body.className = '';
+ }
+ }, 200);
+ }
+});
+
+})();
53 html/index.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en" manifest="cache.manifest">
+<head>
+<meta charset=utf-8 />
+<meta name="viewport" content="width=620" />
+<title>Mashups: An Offline HTML5 Webapp by Marinos Bernitsas</title>
+<link rel="stylesheet" href="style.css" type="text/css" />
+<script src="html5utils.js"></script>
+<script src="ajax1.js"></script>
+</head>
+<body>
+ <h1>Mashups - <a style="color:blue;" href="http://bit.ly/html5mashups">bit.ly/html5mashups</a></h1>
+ <h2>An Offline HTML5 Webapp by Marinos Bernitsas</h2>
+
+
+<div id="drop">
+</div>
+
+<div id="buttons">
+ <div id="refresh" onclick="javascript:updateCache()">
+ Get New Articles
+ </div>
+
+ <div id="prefs" onclick="javascript:dropTables();">
+ Clear DBs
+ </div>
+</div>
+
+<div id="mainbox">
+ <div id="loading" style="display:none;">
+ <img src="loading.gif" />
+ Loading..
+ </div>
+
+ <div id="offline" style="display:none;">
+ Offline Mode..Using cached copy
+ </div>
+
+ <div id="contents">
+ <a onclick="javascript:addSampleFeeds()">add sample feeds</a>
+ </div>
+</div>
+
+
+<script src="mashups.js"></script>
+
+<div id="footer">
+ 2011 Marinos Bernitsas (<a href="http://bernitsas.com/dev/mashups.zip">Download Mashups for HTML5</a> - version 25)
+</div>
+
+
+</body>
+</html>
BIN  html/loading.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
287 html/mashups.js
@@ -0,0 +1,287 @@
+/*
+* Marinos Bernitsas bernitsas.com
+*/
+
+var db = openDatabase('mashupsdb', '1.0', 'my first database', 2 * 1024 * 1024);
+var requests=0;
+var numOfflines=0;
+
+if(!db) alert("null db");
+
+function addSampleFeeds()
+{
+ var feed="http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml";
+ var li = document.createElement('li');
+
+ li.innerHTML = feed;
+
+ var ul = drop.getElementsByTagName('ul')[0];
+
+ db.transaction(function (tx) {
+ tx.executeSql('CREATE TABLE IF NOT EXISTS feeds (id INTEGER PRIMARY KEY, url TEXT)');
+ tx.executeSql('INSERT INTO feeds (id,url) VALUES (null,?)',[feed], showFeeds());
+ });
+
+ updateCache();
+}
+
+function showFeeds()
+{
+ var drop=document.getElementById('drop');
+ drop.innerHTML="<ul></ul>";
+ db.transaction(function (tx) {
+ tx.executeSql('SELECT * FROM feeds ORDER BY id ASC', [], function (tx, results) {
+ var len = results.rows.length, i;
+ for (i = 0; i < len; i++) {
+
+ var li = document.createElement('li');
+
+ var feed='<a onclick="javascript:removeFeed('+results.rows.item(i).id+')"><img src="delete.png"/> </a>'+results.rows.item(i).url;
+ li.innerHTML = feed;
+
+ drop.getElementsByTagName('ul')[0].appendChild(li);
+ }
+ });
+ });
+}
+
+
+function dropTables()
+{
+ db.transaction(function (tx) {
+ tx.executeSql('DROP TABLE IF EXISTS articles');
+ tx.executeSql('DROP TABLE IF EXISTS feeds');
+
+ });
+ showFeeds();
+ showArticles();
+}
+
+function dropArticles()
+{
+ db.transaction(function (tx) {
+ tx.executeSql('DROP TABLE IF EXISTS articles');
+
+ });
+}
+
+function removeFeed(id)
+{
+ db.transaction(function (tx) {
+ tx.executeSql('DROP TABLE IF EXISTS articles');
+
+ tx.executeSql('DELETE FROM feeds WHERE id=?', [id], function (tx, results) {
+ //alert("table dropped");
+ showFeeds();
+
+ });
+ });
+
+ updateCache();
+}
+
+function updateCache()
+{
+ document.getElementById('loading').style.display='block';
+ document.getElementById('offline').style.display='none';
+ numOfflines=0;
+
+ db.transaction(function (tx) {
+ //tx.executeSql('DROP TABLE IF EXISTS articles');
+ tx.executeSql('SELECT * FROM feeds ORDER BY id ASC', [], function (tx, results) {
+ var len = results.rows.length, i;
+ if(len==0)
+ {
+ document.getElementById('loading').style.display='none';
+ document.getElementById("contents").innerHTML='';
+ }
+ for (i = 0; i < len; i++) {
+ requests++;
+ getFeed(results.rows.item(i).url);
+ }
+ },
+ function err(){document.getElementById('loading').style.display='none';});
+ });
+
+
+}
+
+function addArticle(date, title, link, feedtitle)
+{
+ //alert("inserting "+date+" : "+title);
+ db.transaction(function (tx) {
+ tx.executeSql('CREATE TABLE IF NOT EXISTS articles (id INTEGER PRIMARY KEY, date INTEGER UNIQUE , title TEXT, link TEXT, feedtitle TEXT)');
+ tx.executeSql('INSERT INTO articles (id,date,title,link,feedtitle) VALUES (null,?,?,?,?)',[date,title,link,feedtitle] );
+ });
+}
+
+function showArticles()
+{
+ var contents = document.getElementById("contents");
+ contents.innerHTML='';
+ db.transaction(function (tx) {
+ tx.executeSql('SELECT * FROM articles ORDER BY date DESC', [], function (tx, results) {
+ var len = results.rows.length, i;
+ for (i = 0; i < len; i++) {
+ var date=new Date(results.rows.item(i).date);
+ var title=results.rows.item(i).title;
+ var link=results.rows.item(i).link;
+ var feedtitle=results.rows.item(i).feedtitle;
+
+ var listItem = document.createElement("p");
+
+ listItem.innerHTML=(date.toLocaleDateString()+'@'+date.toLocaleTimeString()+': <a href="'+link+'">'+title+'</a> ('+feedtitle+')');
+ contents.appendChild(listItem);
+
+ }
+ });
+ });
+}
+
+
+
+
+
+
+
+function cancel(e) {
+ if (e.preventDefault) e.preventDefault(); // required by FF + Safari
+ e.dataTransfer.dropEffect = 'copy'; // tells the browser what drop effect is allowed here
+ return false; // required by IE
+}
+
+function entities(s) {
+ var e = {
+ '"' : '"',
+ '&' : '&',
+ '<' : '<',
+ '>' : '>'
+ };
+ return s.replace(/["&<>]/g, function (m) {
+ return e[m];
+ });
+}
+
+
+// Tells the browser that we *can* drop on this target
+addEvent(drop, 'dragenter', cancel);
+
+addEvent(drop, 'dragover', function (e) {
+ if (e.preventDefault) e.preventDefault(); // allows us to drop
+ this.className = 'over';
+ e.dataTransfer.dropEffect = 'copy';
+ return false;
+ });
+
+addEvent(drop, 'dragleave', function () {
+ this.className = '';
+ });
+
+
+addEvent(drop, 'drop', function (e) {
+ if (e.preventDefault) e.preventDefault(); // stops the browser from redirecting off to the text.
+
+
+ var li = document.createElement('li');
+
+ //grab the url for images etc
+ var feed=feed=e.dataTransfer.getData('url');
+
+ //grab the pure text
+ if(!feed) feed=e.dataTransfer.getData('Text');
+
+ drop.className = '';
+
+ if(!feed.match('^http://')) return false;
+
+ li.innerHTML = feed;
+
+ var ul = drop.getElementsByTagName('ul')[0];
+
+
+db.transaction(function (tx) {
+ tx.executeSql('CREATE TABLE IF NOT EXISTS feeds (id INTEGER PRIMARY KEY, url TEXT)');
+ tx.executeSql('INSERT INTO feeds (id,url) VALUES (null,?)',[feed], showFeeds());
+});
+
+ updateCache();
+
+
+
+ return false;
+});
+
+
+function getFeed(url) {
+
+ var req = newXMLHttpRequest();
+
+ req.onreadystatechange = getReadyStateHandler(req, updateFeed);
+
+ req.open("GET", "http://bernitsas.com/dev/mashups/proxy.php?url="+url, true);
+ req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+ req.send();
+}
+
+
+/*
+ * Update shopping-cart area of page to reflect contents of cart
+ * described in XML document.
+ */
+function updateFeed(feedXML) {
+
+ if(feedXML)
+ {
+ var feedTitle=feedXML.getElementsByTagName("channel")[0].getElementsByTagName("title")[0].firstChild.nodeValue;
+
+ var contents = document.getElementById("contents");
+ contents.innerHTML = "";
+
+ var items = feedXML.getElementsByTagName("item");
+
+ for (var I = 0 ; I < items.length ; I++) {
+
+ var title = items[I].getElementsByTagName("title")[0].firstChild.nodeValue;
+
+ var date = items[I].getElementsByTagName("pubDate")[0].firstChild.nodeValue;
+
+ var link = items[I].getElementsByTagName("link")[0].firstChild.nodeValue;
+
+ date=Date.parse(date);
+
+ addArticle(date, title, link, feedTitle);
+
+ }
+ }
+ else alert("one of the feeds was not rss");
+
+ --requests;
+
+ if(requests==0)
+ {
+ showArticles();
+ document.getElementById('loading').style.display='none';
+
+ }
+
+ }
+
+function handleAjaxError(message)
+{
+ --requests;
+ ++numOfflines;
+ //alert("One of your feeds could not be accessed. Using cached copy instead."+message);
+ document.getElementById('offline').innerHTML=numOfflines+" of your feeds could not get updated";
+ document.getElementById('offline').style.display='block';
+
+ if(requests==0)
+ {
+ showArticles();
+ document.getElementById('loading').style.display='none';
+
+ }
+}
+
+
+showFeeds();
+updateCache();
21 html/proxy.php
@@ -0,0 +1,21 @@
+<?php
+// Set your return content type
+header('Content-type: application/xml');
+
+// Website url to open
+//$daurl = 'http://feeds.nytimes.com/nyt/rss/Technology';
+
+$daurl=$_GET['url'];
+
+// Get that website's content
+$handle = fopen($daurl, "r");
+
+// If there is something, read and return
+if ($handle) {
+ while (!feof($handle)) {
+ $buffer = fgets($handle, 4096);
+ echo $buffer;
+ }
+ fclose($handle);
+}
+?>
BIN  html/refresh.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
353 html/rss.xml
@@ -0,0 +1,353 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="/css/rss20.xsl" type="text/xsl"?>
+<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:nyt="http://www.nytimes.com/namespaces/rss/2.0" version="2.0" xmlns:pheedo="http://www.pheedo.com/namespace/pheedo">
+ <channel>
+ <title>NYT &gt; World</title>
+ <link>http://www.nytimes.com/pages/world/index.html?partner=rss&amp;emc=rss</link>
+ <description/>
+ <language>en-us</language>
+ <copyright>Copyright 2011 The New York Times Company</copyright>
+ <lastBuildDate>Sat, 29 Jan 2011 03:50:51 GMT </lastBuildDate>
+ <image>
+ <title>NYT &gt; World</title>
+ <url>http://graphics.nytimes.com/images/section/NytSectionHeader.gif</url>
+ <link>http://www.nytimes.com/pages/world/index.html?partner=rss&amp;emc=rss</link>
+ </image>
+ <atom:link rel="hub" href="http://www.pheedo.com/api/hub/"/>
+ <atom:link rel="self" href="http://feeds.nytimes.com/nyt/rss/World" type="application/rss+xml"/>
+ <item>
+ <title>Mubarak Vows Cabinet Shift but Defends Deploying Army as Revolt Sweeps Egypt</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=ba371a9f3d295c1681a15c32457e8624</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29unrest.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29unrest.html</guid>
+ <media:content url="http://graphics8.nytimes.com/images/2011/01/29/world/29egypt1_span/29egypt1_span-thumbStandard.jpg" medium="image" height="75" width="75"/>
+ <media:description>Egyptians surveyed the damage to the headquarters of the ruling party early Saturday.</media:description>
+ <media:credit>Scott Nelson for The New York Times</media:credit>
+ <description>Protesters continued to defy a nationwide curfew early Saturday as President Hosni Mubarak deployed the military to save his authoritarian government of nearly 30 years.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=ba371a9f3d295c1681a15c32457e8624&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=ba371a9f3d295c1681a15c32457e8624&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By DAVID D. KIRKPATRICK</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:50:05 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Middle East</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Tunisia</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Yemen</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Jordan</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Ben Ali, Zine El-Abidine</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">ElBaradei, Mohamed</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Saleh, Ali Abdullah</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Mubarak, Hosni</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Twitter</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Facebook.com</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Muslim Brotherhood</category>
+ </item>
+ <item>
+ <title>Egyptians&#x2019; Fury Has Smoldered Beneath the Surface for Decades</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=c7523dd783150e295408b38cc0ec06d6</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29mubarak.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29mubarak.html</guid>
+ <description>Egyptians have demonstrated over the years about low wages, poverty and the election process, but never in such a widespread fashion.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=c7523dd783150e295408b38cc0ec06d6&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=c7523dd783150e295408b38cc0ec06d6&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By MICHAEL SLACKMAN</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:45:01 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Mubarak, Hosni</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Mubarak, Gamal</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Politics and Government</category>
+ </item>
+ <item>
+ <title>A Nobelist Has an Unfamiliar Role in Protests</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=cfa64ed30b6c0bb77faaaa3a27d131cb</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29elbaradei.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29elbaradei.html</guid>
+ <media:content url="http://graphics8.nytimes.com/images/2011/01/29/world/29ELBARADEI/29ELBARADEI-thumbStandard.jpg" medium="image" height="75" width="75"/>
+ <media:description>Mohamed ElBaradei, second from right, on Friday in the crowd of Egyptian protesters in Cairo.</media:description>
+ <media:credit>Khaled El Fiqi/European Pressphoto Agency</media:credit>
+ <description>A police confrontation is the latest turn in Mohamed ElBaradei&#x2019;s unexpected second career in Egypt&#x2019;s politics.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=cfa64ed30b6c0bb77faaaa3a27d131cb&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=cfa64ed30b6c0bb77faaaa3a27d131cb&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By DAVID D. KIRKPATRICK</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:08:55 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">ElBaradei, Mohamed</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Politics and Government</category>
+ <category domain="http://www.nytimes.com/namespaces/mdes">Human Rights and Human Rights Violations</category>
+ </item>
+ <item>
+ <title>Egyptian Hopes Converge in Fight for Cairo Bridge</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=e351f9571e3f8ff3a4eef1ab184719aa</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29cairo.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29cairo.html</guid>
+ <media:content url="http://graphics8.nytimes.com/images/2011/01/29/world/29CAIRO1/29CAIRO1-thumbStandard.jpg" medium="image" height="75" width="75"/>
+ <media:description>Security forces with water cannons and tear gas confronted protesters heading to a central square and pushed them back across the Kasr al-Nil Bridge in Cairo, part of a battle that lasted hours.</media:description>
+ <media:credit>Peter Macdiarmid/Getty Images</media:credit>
+ <description>Hours of struggle for a bridge defined the day&#x2019;s events throughout Egypt as people shed their fear of the government, a few halting steps at a time.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=e351f9571e3f8ff3a4eef1ab184719aa&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=e351f9571e3f8ff3a4eef1ab184719aa&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By KAREEM FAHIM</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:45:04 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Police</category>
+ </item>
+ <item>
+ <title>In Alexandria, Protesters Rout the Police, for Now</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=a6187b785ed2766ad77ad5a79d5c774f</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29alexandria.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29alexandria.html</guid>
+ <description>Alexandria was the scene of some of the fiercest fighting in the country on Friday as riot police officers fired tear-gas canisters and rubber bullets and protesters hurled paving stones.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=a6187b785ed2766ad77ad5a79d5c774f&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=a6187b785ed2766ad77ad5a79d5c774f&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By NICHOLAS KULISH and SOUAD MEKHENNET</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:44:03 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Alexandria (Egypt)</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Police</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Human Rights Watch</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Mubarak, Hosni</category>
+ </item>
+ <item>
+ <title>Egypt&#x2019;s Military Is Seen as Pivotal in Next Step</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=740cb8d7b6020eae56333e11d2591b0d</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29forces.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29forces.html</guid>
+ <description>It is difficult to predict what role the military might play in quelling protests or easing the president from power.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=740cb8d7b6020eae56333e11d2591b0d&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=740cb8d7b6020eae56333e11d2591b0d&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By NEIL MacFARQUHAR</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:15:59 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Defense and Military Forces</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Mubarak, Hosni</category>
+ </item>
+ <item>
+ <title>Obama Cautions Embattled Ally Against Violence</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=0b5c832f09cc72123edbd4747f762817</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29diplo.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29diplo.html</guid>
+ <description>President Obama put Egypt&#x2019;s embattled leader, Hosni Mubarak, on notice against a bloody crackdown, edging away from a close American ally.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=0b5c832f09cc72123edbd4747f762817&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=0b5c832f09cc72123edbd4747f762817&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By MARK LANDLER</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:50:06 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Clinton, Hillary Rodham</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/mdes">United States International Relations</category>
+ </item>
+ <item>
+ <title>Al Jazeera Covers Protests Despite Hurdles</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=2ce35a002b0a276822a8781552b8e840</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29jazeera.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29jazeera.html</guid>
+ <media:content url="http://graphics8.nytimes.com/images/2011/01/29/world/29JAZEERA/29JAZEERA-thumbStandard.jpg" medium="image" height="75" width="75"/>
+ <media:description>Clashes with the police raged across Egypt on Friday. A man was treated after suffering puncture wounds during protests in Cairo.</media:description>
+ <media:credit>Tara Todras-Whitehill/Associated Press</media:credit>
+ <description>The channel has provided exhaustive coverage of Egypt&#x2019;s protests despite repeated efforts to block its broadcasts.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=2ce35a002b0a276822a8781552b8e840&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=2ce35a002b0a276822a8781552b8e840&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By ROBERT F. WORTH</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:44:08 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Al Jazeera</category>
+ <category domain="http://www.nytimes.com/namespaces/des">News and News Media</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Arabic Language</category>
+ <category domain="http://www.nytimes.com/namespaces/mdes">Television</category>
+ </item>
+ <item>
+ <title>Unrest Worries Credit Raters. So Does Calming It.</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=54a89f73fabd320136f0fb1c5e995f80</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29egypt-economy.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29egypt-economy.html</guid>
+ <description>Credit rating agencies&#x2019; concerns over the tumult in the Middle East focused on how much governments there might step up spending to calm public ire, but others called the timing of the agencies&#x2019; warnings &#x201C;ill-advised.&#x201D;&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=54a89f73fabd320136f0fb1c5e995f80&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=54a89f73fabd320136f0fb1c5e995f80&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By LIZ ALDERMAN</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:11:39 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/des">Ratings and Rating Systems</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Economic Conditions and Trends</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Roth, Kenneth</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">World Economic Forum</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Human Rights Watch</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Twitter</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Facebook.com</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Standard &amp; Poor's Corp</category>
+ </item>
+ <item>
+ <title>Egyptian Military Chiefs Cut Pentagon Visit Short</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=c9d482c82d5cc0b2e7fdb4a1105b19e6</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29military-egypt.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29military-egypt.html</guid>
+ <description>The chief of staff of Egypt&#x2019;s armed forces, Lt. Gen. Sami Hafez Enan, was due to meet Monday with Adm. Mike Mullen, the chairman of the Joint Chiefs of Staff.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=c9d482c82d5cc0b2e7fdb4a1105b19e6&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=c9d482c82d5cc0b2e7fdb4a1105b19e6&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By ELISABETH BUMILLER</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:13:55 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ </item>
+ <item>
+ <title>Egypt Cuts Off Most Internet and Cell Service</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=1943f7e61f8f923d251ad6dd3f8d0abf</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/technology/internet/29cutoff.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/technology/internet/29cutoff.html</guid>
+ <description>Egypt has cut off nearly all Internet traffic into and out of the country and disrupted cellphone service as it struggles to contain protests.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=1943f7e61f8f923d251ad6dd3f8d0abf&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=1943f7e61f8f923d251ad6dd3f8d0abf&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By MATT RICHTEL</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:10:24 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Computers and the Internet</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Social Networking (Internet)</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Wireless Communications</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Vodafone Group Plc|VOD|NASDAQ</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Facebook.com</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Twitter</category>
+ </item>
+ <item>
+ <title>Protests Unsettle Jordan While Most Other Neighbors Stay Calm</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=93acf03a4c8f51d4885ab630bfbdc50c</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29region.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29region.html</guid>
+ <description>Thousands of protesters gathered in Jordan, but Yemen and other restive locales in the Middle East stayed relatively quiet Friday, as the region&#x2019;s focus turned to Egypt.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=93acf03a4c8f51d4885ab630bfbdc50c&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=93acf03a4c8f51d4885ab630bfbdc50c&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By ANTHONY SHADID and ETHAN BRONNER</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:10:04 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/des">Demonstrations, Protests, and Riots</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Middle East</category>
+ </item>
+ <item>
+ <title>Iran Sees Rise of Islamic Hard-Liners</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=f755c41323cc5360d60882b8a05823f3</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29iran.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29iran.html</guid>
+ <description>A leading supporter of Iran&#x2019;s government predicted that conservative Islamic forces would eventually gain the upper hand in Tunisia, Egypt and Yemen.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=f755c41323cc5360d60882b8a05823f3&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=f755c41323cc5360d60882b8a05823f3&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By WILLIAM YONG</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:10:04 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Iran</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Larijani, Mohammad-Javad</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Egypt</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Tunisia</category>
+ </item>
+ <item>
+ <title>Ireland, Mired in Crisis, Will Dissolve Parliament</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=578c905541765d8d929842f1a558e2c0</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/europe/29ireland.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/europe/29ireland.html</guid>
+ <description>The nation&#x2019;s financial crisis has effectively ended the political career of Prime Minister Brian Cowen.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=578c905541765d8d929842f1a558e2c0&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=578c905541765d8d929842f1a558e2c0&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By JOHN F. BURNS</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 02:40:21 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Ireland</category>
+ <category domain="http://www.nytimes.com/namespaces/mdes">Legislatures and Parliaments</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Cowen, Brian</category>
+ </item>
+ <item>
+ <title>Deadly Attack by Taliban in Kabul Sought to Kill Head of Blackwater</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=d6008a6aa1178018167977589cb0bd66</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/asia/29afghan.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/asia/29afghan.html</guid>
+ <description>An explosion in a Kabul supermarket frequented by foreigners on Friday afternoon killed at least eight people and wounded at least 12.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=d6008a6aa1178018167977589cb0bd66&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=d6008a6aa1178018167977589cb0bd66&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By RAY RIVERA, ALISSA J. RUBIN and SHARIFULLAH SAHAK &lt;byline&gt;</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 03:04:38 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Kabul (Afghanistan)</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Afghanistan</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Bombs and Explosives</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Supermarkets</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Afghanistan War (2001- )</category>
+ <category domain="http://www.nytimes.com/namespaces/des">International Relations</category>
+ </item>
+ <item>
+ <title>Germany Plans Start of Troop Withdrawal</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=8f68a5cc98d44b69caeab12235dcd6a6</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/europe/29germany.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/europe/29germany.html</guid>
+ <description>Germany&#x2019;s Parliament voted to bring its soldiers back from Afghanistan beginning this year, with the caveat &#x201C;if the security situation allows.&#x201D;&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=8f68a5cc98d44b69caeab12235dcd6a6&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=8f68a5cc98d44b69caeab12235dcd6a6&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By JUDY DEMPSEY</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 01:40:19 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Germany</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Afghanistan War (2001- )</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Merkel, Angela</category>
+ </item>
+ <item>
+ <title>Palestinian Is Shot in Head in Clash With Israeli Settlers</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=230b0ca6315eeba79cdeee00b68e5efc</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/middleeast/29hebron.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/middleeast/29hebron.html</guid>
+ <description>In the second such incident in two days, the Israeli police said Jewish settlers opened fire after they were attacked by Palestinians throwing stones.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=230b0ca6315eeba79cdeee00b68e5efc&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=230b0ca6315eeba79cdeee00b68e5efc&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By ISABEL KERSHNER</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 02:21:00 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/des">Palestinians</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Israeli Settlements</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">West Bank</category>
+ </item>
+ <item>
+ <title>Russia Adopts Color-Coded Terror Alert System</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=cbef254975a65ab33b06cc9c456b5b59</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/europe/29russia.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/europe/29russia.html</guid>
+ <description>After the suicide bombing at a Moscow airport, Parliament on Friday approved an alert system similar to the one the United States adopted after 9/11, then dropped.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=cbef254975a65ab33b06cc9c456b5b59&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=cbef254975a65ab33b06cc9c456b5b59&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By ELLEN BARRY</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 01:40:19 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_org_all">Domodedovo Airport</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Security and Warning Systems</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Russia</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Terrorism</category>
+ <category domain="http://www.nytimes.com/namespaces/nyt_per">Medvedev, Dmitri A</category>
+ </item>
+ <item>
+ <title>American Charged in Pakistan Killing</title>
+ <link>http://feeds.nytimes.com/click.phdo?i=086749089c7dda9aa3932f06fe0b7623</link>
+ <pheedo:origLink>http://www.nytimes.com/2011/01/29/world/asia/29pakistan.html?partner=rss&amp;amp;emc=rss</pheedo:origLink>
+ <guid isPermaLink="false">http://www.nytimes.com/2011/01/29/world/asia/29pakistan.html</guid>
+ <media:content url="http://graphics8.nytimes.com/images/2011/01/29/world/29pakistan-cnd/29pakistan-cnd-thumbStandard.jpg" medium="image" height="75" width="75"/>
+ <media:description>Raymond A. Davis was escorted by police after facing a judge in Lahore on Friday.</media:description>
+ <media:credit>Str/Pakistan/Reuters</media:credit>
+ <description>An American official, Raymond A. Davis, 36, was charged with murdering two Pakistanis.&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;br clear=&quot;both&quot; style=&quot;clear: both;&quot;/&gt;
+&lt;a href=&quot;http://ads.pheedo.com/click.phdo?s=086749089c7dda9aa3932f06fe0b7623&amp;p=1&quot;&gt;&lt;img alt=&quot;&quot; style=&quot;border: 0;&quot; border=&quot;0&quot; src=&quot;http://ads.pheedo.com/img.phdo?s=086749089c7dda9aa3932f06fe0b7623&amp;p=1&quot;/&gt;&lt;/a&gt;
+</description>
+ <dc:creator>By WAQAR GILLANI and JANE PERLEZ</dc:creator>
+ <pubDate>Sat, 29 Jan 2011 01:20:20 GMT</pubDate>
+ <category domain="http://www.nytimes.com/namespaces/nyt_geo">Pakistan</category>
+ <category domain="http://www.nytimes.com/namespaces/des">Murders and Attempted Murders</category>
+ </item>
+ <item>
+ <title>The Saturday Profile: A U.S.-China Odyssey: Building a Better Mouse Map</title>
189 html/style.css
@@ -0,0 +1,189 @@
+body{
+ font-family:"Lucida Grande", Tahoma;
+ background:#EFEDE7;
+}
+
+h1{
+ width:500px;
+ font-size:20px;
+ margin-left:auto;
+ margin-right:auto;
+ text-shadow: 2px 2px 3px gray;
+ color:#FF7C00;
+}
+h2{
+ width:500px;
+ font-size:16px;
+ color:gray;
+ margin-left:auto;
+ margin-right:auto;
+ margin
+}
+
+article div {
+ margin: 10px 0;
+}
+
+label {
+ line-height: 32px;
+}
+
+/* for safari */
+*[draggable=true] {
+ -khtml-user-drag: element;
+ cursor: move;
+}
+
+#drop {
+ width:500px;
+ margin-left:auto;
+ margin-right:auto;
+ border: 3px dashed #ccc;
+ padding: 10px;
+ background-color:#fff;
+ min-height: 200px;
+ background-image: url('dropbox.png');
+ background-repeat:no-repeat;
+ background-position:center center;
+ border-radius: 20px;
+ /* overflow-y: auto;*/
+ -webkit-transition:background-color 400ms ease-in-out;
+
+}
+
+#drop .info {
+ color: #999;
+ text-align: center;
+}
+
+#drop ul {
+ margin: 0;
+ padding: 0;
+
+}
+
+#drop li {
+ border-top: 2px solid #ccc;
+ list-style: none;
+ padding: 5px;
+ font-size: 90%;
+}
+
+#drop li:first-child {
+ border-top: 0;
+}
+
+#drop img{
+ cursor:pointer;
+}
+
+#drop.over
+{
+ background-color:#FF7263;
+}
+
+#mainbox{
+ margin-left:30px;
+ font-size:13px;
+ margin-right:30px;
+ background:#fff;
+ border: 2px solid #ccc;
+}
+
+#contents p{
+ margin:0px;
+ padding:4px;
+ -webkit-transition:background-color 400ms ease-out;
+}
+
+#contents p:nth-child(odd)
+{
+ background-color: #C0CFEE;
+}
+#contents p:nth-child(odd):hover
+{
+ background-color:orange;
+}
+#contents p:nth-child(even):hover
+{
+ background-color:orange;
+}
+
+a{
+ text-decoration:none;
+ font-weight:bold;
+}
+
+a:visited{
+ color:gray;
+ font-weight:normal;
+}
+
+#offline{
+ background-color:red;
+ text-align:center;
+ color:white;
+ font-size:15px;
+}
+
+#footer{
+ margin-top:30px;
+ color:gray;
+ text-align:center;
+ font-size:12px;
+}
+#loading{
+ text-align:center;
+ font-size:15px;
+}
+
+#refresh{
+ padding:10px;
+ background-image: url('refresh.png');
+ background-repeat: no-repeat;
+ background-color: gray;
+ text-align:right;
+ width:180px;
+ border: 1px solid #999;
+ margin:10px;
+ cursor: pointer;
+ color:white;
+ display:inline-block;
+ text-shadow: 2px 2px 2px #000;
+ -webkit-transition:background-color 1s ease-in-out;
+
+}
+#refresh:hover{
+ background-color:orange;
+ font-weight:bold;
+
+}
+
+#prefs{
+ padding:10px;
+ background-image: url('trash.png');
+ background-repeat: no-repeat;
+ background-color: gray;
+ text-align:right;
+ width:180px;
+ border: 1px solid #999;
+ margin:10px;
+ cursor: pointer;
+ color:white;
+ display:inline-block;
+ text-shadow: 2px 2px 2px #000;
+ -webkit-transition:background-color 1s ease-in-out;
+
+}
+#prefs:hover{
+ background-color:orange;
+ font-weight:bold;
+
+}
+
+#buttons{
+ margin-left:auto;
+ margin-right:auto;
+ display:block;
+ text-align:center;
+}
BIN  html/trash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  marinos-html5mashups-clean.pdf
Binary file not shown
BIN  marinos-html5mashups.pdf
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.