This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
SUMMARY: | |
- Structure: NML2 SNI Text | |
- Based On: NAR v1.2_1, NML2 v2.1_1 | |
AUTHOR: thomsonreuters.com | |
--> | |
<!-- ========================================================= --> | |
<newsMessage xmlns="http://iptc.org/std/nar/2006-10-01/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rtr="http://www.reuters.com/ns/2003/08/content" xmlns:x="http://www.w3.org/1999/xhtml"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
*** DTD commented out by IDS demo site to allow Internet Explorer 5.x to display formatted XML *** | |
<!DOCTYPE NewsML SYSTEM "../ref/NewsML-xhtml.dtd">--> | |
<!--src: rtr2newsml0.990--> | |
<NewsML Duid="TRE62G0CR_2010-03-17_17-25-56_NEWSML"> | |
<Catalog Href="http://www.reuters.com/newsml/mastercatalog.xml"/> | |
<NewsEnvelope> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"loglevel": "DEBUG", | |
"date": "2010-04-27 21:34:47", | |
"message": "extracted text with features: {u'considering': True, u'raise': True, u'study': True, u'move': True, u'companies': True, u'subcontinent': True, u'junior': True, u'aim': True, u'indian': True, u'london': True, u'listed': True, u'performance': True, u'including': True, u'firms': True, u'ipos': True, u'market': True, u'encouraged': True}", | |
"_id": "4bd75877aa43237149000007", | |
"success": true | |
}, | |
{ | |
"loglevel": "DEBUG", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/celery/events.py b/celery/events.py | |
index c15ba4e..ac37c7a 100644 | |
--- a/celery/events.py | |
+++ b/celery/events.py | |
@@ -8,7 +8,7 @@ from celery.messaging import EventPublisher, EventConsumer | |
def create_event(type, fields): | |
std = {"type": type, | |
"timestamp": fields.get("timestamp") or time.time()} | |
- return dict(fields, **std) | |
+ return str(dict(fields, **std)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/celerymonitor/handlers/api.py b/celerymonitor/handlers/api.py | |
index 7afa6d6..e86c614 100644 | |
--- a/celerymonitor/handlers/api.py | |
+++ b/celerymonitor/handlers/api.py | |
@@ -12,6 +12,13 @@ def JSON(fun): | |
@wraps(fun) | |
def _write_json(self, *args, **kwargs): | |
content = fun(self, *args, **kwargs) | |
+ def _any(data): | |
+ if type(data) == type({}): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://static.parse.ly/p.js?apikey=examiner.com"></script> | |
<div id="parsely_container" style="display: none"> | |
<a href="http://parse.ly/p3">Personalization by the Parse.ly Publisher Platform (P3)</a> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -vv http://www.examiner.com/rss/recent/santa-ana > /dev/null* About to connect() to www.examiner.com port 80 (#0) | |
* Trying 67.220.220.55... connected | |
* Connected to www.examiner.com (67.220.220.55) port 80 (#0) | |
> GET /rss/recent/santa-ana HTTP/1.1 | |
> User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 | |
> Host: www.examiner.com | |
> Accept: */* | |
> | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xml:base="http://www.examiner.com" xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<channel> | |
<title>Examiner San Jose Edition Articles</title> | |
<link>http://www.examiner.com/rss/san-jose</link> | |
<description>Latest News and Articles from Examiner.com</description> | |
<language>en</language> | |
<item> | |
<title>De Anza College women's soccer team defeats Cabrillo College 2-0</title> | |
<link>http://www.examiner.com/sports-photography-in-san-jose/de-anza-college-women-s-soccer-team-defeats-cabrillo-college-2-0</link> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xml:base="http://www.examiner.com" xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<channel> | |
<title>Examiner San Jose Edition Articles</title> | |
<link>http://www.examiner.com/rss/san-jose</link> | |
<description>Latest News and Articles from Examiner.com</description> | |
<language>en</language> | |
<image> <url>http://www.examiner.com/sites/all/themes/base/images/logo.gif</url> | |
<title>examiner.com</title> | |
<link>http://www.examiner.com</link> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8,41d7 | |
< <image> <url>http://www.examiner.com/sites/all/themes/base/images/logo.gif</url> | |
< <title>examiner.com</title> | |
< <link>http://www.examiner.com</link> | |
< <description>Examiner.com is the insider source for everything local.</description> | |
< <width>126</width> | |
< <height>29</height> | |
< </image> | |
< <item> | |
< <title>Paranormal Activity 2: If it's not a burglar, it must be a ghost.</title> |
OlderNewer