plugin:yql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:yql [2014-10-24 22:57] – 41.137.70.128 | plugin:yql [2018-05-31 00:39] (current) – [Installation] Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | ====== yql Plugin ====== |
- | < | + | ---- plugin ---- |
- | </ | + | description: |
- | < | + | author |
+ | email : michael@content-space.de | ||
+ | type : syntax | ||
+ | lastupdate : 2016-01-16 | ||
+ | compatible : Anteater, Rincewind, Angua, Adora Belle, Weatherwax | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : yahoo, data | ||
- | </font>< | + | downloadurl: |
- | < | + | bugtracker |
- | </font>< | + | sourcerepo : https://github.com/Michitux/dokuwiki-plugin-yql/ |
- | <p class=" | + | donationurl: |
- | <font size=" | + | ---- |
- | T@RiQ</ | + | |
- | & | + | |
- | <div style=" | + | |
- | </span></ | + | |
- | </ | + | |
- | <p class=" | + | |
- | <font color="# | + | |
- | <font size=" | + | |
- | <span class=" | + | |
- | < | + | |
- | <p class=" | + | |
- | <font color="# | + | |
- | ) = </ | + | |
- | </font>< | + | This plugin allows to embed results from the [[http://developer.yahoo.com/yql/|YQL (Yahoo! Query Language)]] API of Yahoo! in a wiki page. The plugin only works for certain queries and certain query fields and has mainly been created because I needed to embed a certain query result. The plugin does not support queries that need authorization or return one single result |
- | </font>< | + | To learn if accessing a table requires authentication, |
- | )</font>< | + | |
- | <p class=" | + | |
- | <font color="# | + | |
- | This <span class=" | + | |
- | <span class=" | + | |
- | </ | + | The results of the query are displayed as list, the individual list items can be formatted using a simple format string and support |
- | <p class=" | + | |
- | & | + | |
- | + | ||
- | </p> | + | |
- | <span class=" | + | |
- | <p class=" | + | |
- | <font size=" | + | |
- | <span class=" | + | |
- | </ | + | |
- | <p class=" | + | The plugin does also works with different renderers (like [[plugin:odt|odt]] or [[plugin:dokutexit|LaTeX]]) as it uses standard renderer functions for displaying the list of items. |
- | < | + | |
- | <font face=" | + | |
- | <font face=" | + | |
- | <p class=" | + | |
- | <font size=" | + | |
- | <p class=" | + | |
- | <font color="# | + | |
- | </ | + | ===== Installation |
- | <font size=" | + | |
- | <p class=" | + | |
- | <font color="# | + | |
- | + | ||
- | </ | + | |
- | <p class=" | + | |
- | <p class=" | + | Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[: |
- | <font size=" | + | |
- | <span class=" | + | ===== Examples/Usage ===== |
- | <p class=" | + | |
- | <span class=" | + | |
- | & | + | |
- | </ | + | |
- | <img border=" | + | |
- | </ | + | |
- | <span style=" | + | |
- | </ | + | |
- | <span style=" | + | |
- | <font size=" | + | |
- | </ | + | |
- | -------------------------------------------------------</ | + | |
- | <p class=" | + | |
- | <span class=" | + | |
- | <img border=" | + | |
- | & | + | |
- | <p class=" | + | |
- | <font color="# | + | |
- | <span class=" | + | A simple query to combine two RSS feeds: |
- | </ | + | |
- | |</ | + | |
- | <p class=" | + | |
- | | + | |
- | + | ||
- | </p> | + | |
- | <p class=" | + | |
- | <embed src=" | + | |
- | pluginspage=" | + | |
- | type=" | + | |
- | base=" | + | |
- | height=" | + | |
- | </ | + | |
| | ||
+ | <YQL> | ||
+ | select title, | ||
+ | where url in ( | ||
+ | ' | ||
+ | ' | ||
+ | ) | sort(field=' | ||
+ | </ | ||
- | + | And another query, displaying a list of Sushi restaurants in San Francisco using a custom display format: | |
- | </ | + | |
- | <p align="center">& | + | |
- | <p align="center">& | + | |
- | + | </YQL> | |
- | <p align="center"> | + | |
- | | + | |
- | + | ||
- | <font face="verdana">< | + | |
- | <object classid=" | + | |
- | | + | |
+ | Here a screenshot of the output of the two examples: | ||
| | ||
- | <param name=" | + | {{https:// |
| | ||
- | <param name=" | + | ===== Syntax ===== |
- | <param name=" | + | |
+ | The basic syntax is: | ||
| | ||
- | + | | |
- | + | | |
- | | + | </YQL> |
- | <param name=" | + | |
- | <style type=" | + | |
+ | where your_query is the query you want to execute. Within the < | ||
+ | * **format**: The format is a combination of a simple string combined with the names of the result values that shall be displayed enclosed in " | ||
+ | * **item_name**: | ||
+ | * **refresh**: | ||
- | <style type=" | + | ===== Development ===== |
- | # | + | There are many features that are currently missing, but everything I currently need works so most probably I won't put too much work into improving it. But if you have a special use case feel free to submit feature requests, bug reports or submit even patches or pull requests on GitHub. |
- | font-style: italic; | + | === Change Log === |
- | font-weight: | + | |
- | font-family: | + | |
- | color: white; | + | |
- | position: absolute; | + | {{rss> |
- | # | + | |
- | # | + | |
- | </ | + | === Known Bugs and Issues === |
- | < | + | |
- | <META http-equiv=Content-Language content=en-us> | + | The plugin currently only supports certain YQL results and doesn' |
- | <META http-equiv=Content-Type content=" | + | |
- | < | + | ===== Discussion |
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | body { background: #000000; scrollbar-track-color: | + | |
- | + | ||
- | + | ||
- | | + | |
- | .name { text-decoration: | + | |
- | + | ||
- | + | ||
- | + | ||
- | @-moz-keyframes roll { 100% { -moz-transform: | + | |
- | + | ||
- | + | ||
- | + | ||
- | @-o-keyframes roll { 100% { -o-transform: | + | |
- | + | ||
- | + | ||
- | + | ||
- | @-webkit-keyframes roll { 100% { -webkit-transform: | + | |
- | + | ||
- | + | ||
- | + | ||
- | body{-moz-animation-name: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -moz-animation-duration: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -moz-animation-iteration-count: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -o-animation-name: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -o-animation-duration: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -o-animation-iteration-count: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -webkit-animation-name: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -webkit-animation-duration: | + | |
- | + | ||
- | + | ||
- | + | ||
- | -webkit-animation-iteration-count: | + | |
- | .style1 { | + | |
- | color: #FF0000; | + | |
- | } | + | |
- | .style2 { | + | |
- | color: #FFFFFF; | + | |
- | } | + | |
- | </ | + | |
- | <meta http-equiv=" | + | |
- | الاختراق من قبل T@RiQ </ | + | |
- | <p align=" | + | |
- | <HTML dir=rtl> | + | |
- | < | + | :!: Please don't report any bugs or feature wishes here but use the [[https://github.com/Michitux/dokuwiki-plugin-yql/issues|issue tracker]] at GitHub. |
- | < | + | |
- | < | + | |
- | <p align=" | + | |
- | <b style=" | + | |
- | <font color="# | + | |
- | تم& | + | |
- | <b style=" | + | |
- | <font size=" | + | |
- | <p align=" | + | |
- | <b style=" | + | |
- | <font color="# | + | |
- | By<span lang=" | + | |
- | <b style=" | + | |
- | <font size=" | + | |
- | <a href=" | + | |
- | </ | + | |
- | <p align=" | + | |
- | <img border=" | + | |
- | <p align=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | ?ALMUTEM ALSyRiE, ?????? ????, 4nGeL HaCkeR Of SyRiA, aboud-alshami, | + | |
- | Al.Lwaa, Ammar ?acker, belalnet2001, | + | |
- | dieangel92, Dr.Xp9.HaC, بنت الشام, FLyHelL, H4F, MaRy, Maxex, mohamadah33, | + | |
- | Spider Black, Mr.MOON, MZN-Hacker, زيزو الملكي, | + | |
- | Sniper, tarekwaarhacker, | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | & | + |
plugin/yql.1414184279.txt.gz · Last modified: 2014-10-24 22:57 by 41.137.70.128