ubc / feed-shortcode Goto Github PK
View Code? Open in Web Editor NEWfeed-shortcode
feed-shortcode
=== Feed Shortcode === Contributors: michaelha, ctlt-dev Tags: Requires at least: 3.4 Tested up to: 3.4 Stable tag: 1.0.1 ==== Unit Test ==== Import unit-test.xml on your development server to test the shortcode = Change Log = Added month and year parameters so users can now specify which month and year to display. Does not work with UBC Events feeds. Examples: [feed url="https://mednet.med.ubc.ca/_layouts/listfeed.aspx?List=0c3c99dc-49a7-40b2-884b-19a7fb5d0a9c&View=22cfbe51-46cf-41c1-a561-a8b6b48933cb" view="cal" month="2" year="2016"] [feed url="https://mednet.med.ubc.ca/_layouts/listfeed.aspx?List=0c3c99dc-49a7-40b2-884b-19a7fb5d0a9c&View=22cfbe51-46cf-41c1-a561-a8b6b48933cb" view="cal" month="feb" year="2015"] [feed url="https://mednet.med.ubc.ca/_layouts/listfeed.aspx?List=0c3c99dc-49a7-40b2-884b-19a7fb5d0a9c&View=22cfbe51-46cf-41c1-a561-a8b6b48933cb" view="cal" month="February"] * Added the twitter shortcode that displays the tweets in easter a slider or list format. Examples : [twitter secret="" key="" user="enej" view="slider"] [twitter secret="" key="" search="enej" view="list"] list view is the default view Key and Secret can be obtained by going to https://dev.twitter.com/apps, login in and creating a new application
When using the view="calendar" attribute, the resulting calendar isn't formatted at all.
If the show_date attribute is not set at all, then no date is shown. But if the show_date attribute is set - regardless of what it is set to - the date is shown. Even if the attribute is set to false or "false".
The documentation says that this attribute only applies when view="rsswidget", and that is what I tested it with.
There also doesn't appear to be any different between show_date="updated" and show_date="true".
Links appear to always open in the window that they were clicked (the behaviour for target='_self') regardless of whether the target attribute is set as _blank, or not set at all.
When using view="rsswidget" and dates are shown, all dates are displayed as the default unix time. The date can still be formatted with the date_format attribute, but it is always equal to 01/01/1970.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.