Ok ...
So :
I've a publisher that get feeds rss url (and date of the last handling) from the database
the url is then loaded by feedparser ; and for each item I check the last time the handling has been done
when one item has not been handled I add it to a dict and returnValue() on it.
then for each item I publish it.
on the other side the subcriber receive the stuff.
with crossbar0.10.1 / autobahn 0.10.0 all of this is ok
you can have a look at the 2 components if you want :
- https://github.com/foxmask/wamp-th/blob/master/components/th_rss/back.py
- https://github.com/foxmask/wamp-th/blob/master/components/th_evernote/front.py
on the front.py line 255 I added print(data) and as you can see the date (published propery) of the RSS is well retrieved
2015-03-02 17:12:26+0100 [WampWebSocketClientProtocol,client] *************************************
2015-03-02 17:12:26+0100 [WampWebSocketClientProtocol,client] Internet
2015-03-02 17:12:26+0100 [WampWebSocketClientProtocol,client]
2015-03-02 17:12:26+0100 [WampWebSocketClientProtocol,client] Flux de Strict minimum
2015-03-02 17:12:26+0100 [WampWebSocketClientProtocol,client] {u'summary_detail': {u'base': u'
http://blog.timothe-leroy.com/feed/tumblog/', u'type': u'text/html', u'value': u'<p><a href="
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5" rel="bookmark" target="_blank" title="Point de vue du pr\xe9sident de MO5 sur la console Ouya">
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5</a></p>\n\t… et je partage totalement son avis<p><a href="
http://blog.timothe-leroy.com/point-de-vue-du-president-de-mo5-sur-la-console-ouya/#respond" title="Commentaire sur Point de vue du pr\xe9sident de MO5 sur la console Ouya">Laisser un commentaire</a></p>', u'language': None}, u'published_parsed': {u'tm_sec': 0, u'n_sequence_fields': 9, u'n_unnamed_fields': 0, u'tm_mday': 18, u'tm_isdst': 0, u'tm_year': 2013, u'tm_mon': 7, u'tm_yday': 199, u'tm_hour': 9, u'n_fields': 9, u'tm_wday': 3, u'tm_min': 47}, u'links': [{u'href': u'
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5', u'type': u'text/html', u'rel': u'alternate'}], u'author': u'Tim', u'title': u'Point de vue du pr\xe9sident de MO5 sur la console Ouya', u'slash_comments': u'0', u'comments': u'
http://blog.timothe-leroy.com/point-de-vue-du-president-de-mo5-sur-la-console-ouya/#comments', u'summary': u'<p><a href="
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5" rel="bookmark" target="_blank" title="Point de vue du pr\xe9sident de MO5 sur la console Ouya">
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5</a></p>\n\t… et je partage totalement son avis<p><a href="
http://blog.timothe-leroy.com/point-de-vue-du-president-de-mo5-sur-la-console-ouya/#respond" title="Commentaire sur Point de vue du pr\xe9sident de MO5 sur la console Ouya">Laisser un commentaire</a></p>', u'content': [{u'base': u'
http://blog.timothe-leroy.com/feed/tumblog/', u'type': u'text/html', u'value': u'<p><a href="
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5" rel="bookmark" target="_blank" title="Point de vue du pr\xe9sident de MO5 sur la console Ouya">
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5</a></p>\n\t<p>… et je partage totalement son avis</p>\n<p><a href="
http://blog.timothe-leroy.com/point-de-vue-du-president-de-mo5-sur-la-console-ouya/#respond" title="Commentaire sur Point de vue du pr\xe9sident de MO5 sur la console Ouya">Laisser un commentaire</a></p>', u'language': None}], u'guidislink': False, u'title_detail': {u'base': u'
http://blog.timothe-leroy.com/feed/tumblog/', u'type': u'text/plain', u'value': u'Point de vue du pr\xe9sident de MO5 sur la console Ouya', u'language': None}, u'link': u'
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5', u'authors': [{}], u'author_detail': {u'name': u'Tim'}, u'wfw_commentrss': u'
http://blog.timothe-leroy.com/point-de-vue-du-president-de-mo5-sur-la-console-ouya/feed/', u'id': u'
http://www.gameblog.fr/news/36845-ouya-le-coup-de-gueule-du-president-de-mo5', u'tags': [{u'term': u'Best of', u'scheme': None, u'label': None}],
u'published': u'Thu, 18 Jul 2013 09:47:00 +0000'}
So, my understanding is ; as the data I retrieve from back.py are exchange to front.py and can be displayed ; there is no problem of serialization, isnt it ?
Or am I in a special case that bypass the serialization issue ?