Giter Club home page Giter Club logo

feed-shortcode's Introduction

=== 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



feed-shortcode's People

Contributors

enejb avatar gdouglas avatar loongchan avatar michaelha avatar richardtape avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jfung02 kelvin-xu

feed-shortcode's Issues

show_date always enables date, regardless of value.

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".

target='_blank' seems to have no effect.

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.

view=flickr, src values for <img> is not set.

When using [feed view="flickr"], the rss feed is been gathered and the tags are being created with a link to the proper image, but the src attribute for each is not set, meaning that no image is displayed.

view=rsswidget shows dates as January 1st 1970

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.