Integrating Content fr Integrating Content from om Exter External Sour nal Sources ces with RSS, PHP with RSS, PHP , and JavaScript , and JavaScript Chris Gilligan University of Tennessee at Chattanooga
Companion Blog Post Companion Blog Post • Code Samples • Explanations • utc.edu/outc16
Content fr Content from om Wor ordPr dPress ess via RSS via RSS • WordPress RSS – Categories, Tags and Search strings – Images, Media attachments • Media attachments and customized template require some additional tweaks
PHP files PHP files and OU Assets and OU Assets • Parse feed and display HTML – “heavy lifting” “dev side” • Variables set to defaults for testing – verify feed access and XML structure • Files for various types of display html • Files for various sources of RSS
PHP files and OU Assets OU Assets PHP files and • Simple structure, “user friendly” • Specify RSS source • Limit number of posts to display
Mor More Speed e Speed • cache RSS feeds via WordPress plugin, e.g. W3 Total Cache – cron job to fetch feeds to local server • minimize external requests – faster page load
Event Calendar RSS feeds fr Event Calendar RSS feeds from om Master Calendar via RSS Master Calendar via RSS Somewhat limited in terms of data, unless you build landing page
Content fr Content from om Wor ordPr dPress ess via RSS via RSS • WordPress provides some RSS • RSS from categories, tags and search strings • media attachments and a customized template require some additonal tweaks
Social Media Str Social Media Streams eams • jQuery plugin and PHP to pull in social media posts for the university account, as well as for individual departments and colleges. • $8 jQuery Social Stream (Code Canyon) – “What you pay for vs. what you work for”
Blog Post Blog Post Links, Examples, Code Samples Links, Examples, Code Samples utc.edu/outc16 Chris Gilligan University of Tennessee at Chattanooga
Recommend
More recommend