molly.apps.desktop
– Desktop¶
This shows a desktop site to desktop browsers (desktop browsers hitting the main page are redirected here)
Configuration¶
twitter_username
(optional): If set, this imports a Twitter feed which the desktop templates can display (this settings refers to Twitter’s screen_name, not the user_id as precised in Twitter’s documentation)twitter_ignore_urls
(optional): If set, this filters out tweets in the Twitter feed which contain this URL prefix - this can be used, for example, if you’re importing a news blog to your Twitter feed to avoid duplicate contentblog_rss_url
(optional): If set, this imports an RSS news feed which can be displayed to your users
Sample:
Application('molly.apps.desktop', 'desktop', 'Desktop',
display_to_user = False,
twitter_username = 'mobileox',
twitter_ignore_urls = 'http://post.ly/',
blog_rss_url = 'http://feeds.feedburner.com/mobileoxford',
),