};
}
-function getMicroformatValue(element)
-{
- if(element[0].tagName.toLowerCase() == 'abbr'){
- return element.attr('title');
- }else{
- return element.text();
- }
-}
-
function getNoticeFromElement(noticeElement)
{
var notice = {};
parseFloat(latlon[1])] };
}
- notice['html'] = noticeElement.find(".entry-content").html();
+ notice['html'] = noticeElement.find(".e-content").html();
notice['url'] = noticeElement.find("a.timestamp").attr('href');
notice['created_at'] = noticeElement.find("abbr.published").text();
pt = new mxn.LatLonPoint(lat, lon);
mkr = new mxn.Marker(pt);
- mkr.setIcon(n['user']['profile_image_url']);
+ mkr.setIcon(n['user']['profile_image_url'], [24, 24]);
mkr.setInfoBubble('<a href="'+ n['user']['profile_url'] + '">' + n['user']['screen_name'] + '</a>' + ' ' + n['html'] +
'<br/><a href="'+ n['url'] + '">'+ n['created_at'] + '</a>');