Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting access protocol: from http to https. #475

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions diigo/diigo.feeds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
<key id="tag3" type="xs:string" paramType="path"/>
</inputs>
</select>
<select itemPath="rss.channel.item" produces="XML">
<select itemPath="" produces="XML">
<urls>
<url>http://www.diigo.com/rss/</url>
</urls>
</select>
</bindings>
</table>
</table>
26 changes: 26 additions & 0 deletions flickr/flickr.galleries.getPhotos3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>绣财</author>
<author>Iker Azpeitia</author>
<documentationURL>https://www.flickr.com/services/api/flickr.galleries.getPhotos.html</documentationURL>
<sampleQuery>select * from {table} where gallery_id="21419642-72157622726567018" </sampleQuery>
</meta>
<bindings>
<select itemPath="rsp.photos" produces="XML">
<urls>
<url env="all">https://api.flickr.com/services/rest/?method=flickr.galleries.getPhotos</url>
</urls>
<paging model="page">
<start id="page" default="1" />
<pagesize id="per_page" max="500" />
<total default="10" />
</paging>
<inputs>
<key id="gallery_id" type="xs:string" paramType="query" />
<key id="extras" type="xs:string" paramType="query" />
<key id="api_key" type="xs:string" const="true" private="true" paramType="query" default="2c894ba749b4137b6f7ab127c86890ec"/>
</inputs>
</select>
</bindings>
</table>
20 changes: 20 additions & 0 deletions flickr/flickr.people.getInfo3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Fabio Kung &lt;[email protected]&gt;</author>
<author>Iker Azpeitia</author>
<documentationURL>https://www.flickr.com/services/api/flickr.people.getInfo.html</documentationURL>
<sampleQuery>select * from {table} where user_id="26545327@N00"</sampleQuery>
</meta>
<bindings>
<select itemPath="rsp.person" produces="XML">
<urls>
<url env="all">https://api.flickr.com/services/rest/?method=flickr.people.getInfo</url>
</urls>
<inputs>
<key id="user_id" type="xs:string" paramType="query" />
<key id="api_key" type="xs:string" const="true" private="true" paramType="query" default="d98a5516040113c777323bea72473fc7"/>
</inputs>
</select>
</bindings>
</table>
21 changes: 21 additions & 0 deletions flickr/flickr.people.getPhotosOf3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Fabio Kung &lt;[email protected]&gt;</author>
<author>Iker Azpeitia</author>
<documentationURL>https://www.flickr.com/services/api/flickr.people.getPhotosOf.html</documentationURL>
<sampleQuery>select * from {table} where user_id="26545327@N00"</sampleQuery>
</meta>
<bindings>
<select itemPath="rsp.photos.photo" produces="XML">
<urls>
<url env="all">https://api.flickr.com/services/rest/?method=flickr.people.getPhotosOf</url>
</urls>
<inputs>
<key id="user_id" type="xs:string" paramType="query" />
<key id="api_key" type="xs:string" const="true" private="true" paramType="query" default="d98a5516040113c777323bea72473fc7"/>
<key id="extras" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
</table>
22 changes: 22 additions & 0 deletions flickr/flickr.photos.comments.getList3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Yahoo! Inc.</author>
<author>Iker Azpeitia</author>
<documentationURL>https://www.flickr.com/services/api/flickr.photos.comments.getList.html</documentationURL>
<sampleQuery>select * from {table} where photo_id="109722179"</sampleQuery>
</meta>
<bindings>
<select itemPath="rsp.comments" produces="XML">
<urls>
<url env="all">https://api.flickr.com/services/rest/?method=flickr.photos.comments.getList</url>
</urls>
<inputs>
<key id="photo_id" type="xs:string" paramType="query" />
<key id="api_key" type="xs:string" const="true" private="true" paramType="query" default="d98a5516040113c777323bea72473fc7"/>
<key id="min_comment_date" type="xs:string" paramType="query" />
<key id="max_comment_date" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
</table>
21 changes: 21 additions & 0 deletions flickr/flickr.photos.getInfo3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>David Young;[email protected]</author>
<author>Jon iturrioz</author>
<author>Iker Azpeitia</author>
<documentationURL>https://www.flickr.com/services/api/flickr.photos.getInfo.html</documentationURL>
<sampleQuery>select * from {table} where photo_id="109722179"</sampleQuery>
</meta>
<bindings>
<select itemPath="rsp.photo" produces="XML">
<urls>
<url env="all">https://api.flickr.com/services/rest/?method=flickr.photos.getInfo</url>
</urls>
<inputs>
<key id="photo_id" type="xs:string" paramType="query" />
<key id="api_key" type="xs:string" private="true" paramType="query" default="4fb031bf5b2f138576d011ff37f31565"/>
</inputs>
</select>
</bindings>
</table>
29 changes: 29 additions & 0 deletions flickr/flickr.photosets.getPhotos3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<!-- based off flickr.photos.search table -->
<!-- TODO: Use execute to allow for authenticated queries? -->
<author>Kelvin Luck</author>
<author>Iker Azpeitia</author>
<documentationURL>https://www.flickr.com/services/api/flickr.photosets.getPhotos.html</documentationURL>
<sampleQuery>select * from {table} where photoset_id="72157618922983148"</sampleQuery>
</meta>
<bindings>
<select itemPath="rsp.photoset" produces="XML">
<urls>
<url env="all">https://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos</url>
</urls>
<paging model="page">
<start id="page" default="1" />
<pagesize id="per_page" max="500" />
<total default="10" />
</paging>
<inputs>
<key id="photoset_id" type="xs:string" paramType="query" />
<key id="privacy_filter" type="xs:string" paramType="query" />
<key id="extras" type="xs:string" paramType="query" />
<key id="api_key" type="xs:string" const="true" private="true" paramType="query" default="d98a5516040113c777323bea72473fc7"/>
</inputs>
</select>
</bindings>
</table>
20 changes: 20 additions & 0 deletions instagram/instagram.media.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Jon Iturrioz</author>
<description>Instagram LDW</description>
<documentationURL>https://www.instagram.com/developer/endpoints/</documentationURL>
<apiKeyURL>https://www.instagram.com/developer/</apiKeyURL>
</meta>
<bindings>
<select itemPath="" produces="JSON">
<urls>
<url env="all">https://api.instagram.com/v1/media/{media_id}?access_token={access_token}</url>
</urls>
<inputs>
<key id="media_id" type="xs:string" paramType="path" />
<key id="access_token" type="xs:string" private="true" paramType="path" required="true" default="4821542541.6ac95bb.85d9220cc8774723853f4ebd4096f950"/>
</inputs>
</select>
</bindings>
</table>
20 changes: 20 additions & 0 deletions instagram/instagram.user.recent.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Jon Iturrioz</author>
<description>Instagram LDW</description>
<documentationURL>https://www.instagram.com/developer/endpoints/</documentationURL>
<apiKeyURL>https://www.instagram.com/developer/</apiKeyURL>
</meta>
<bindings>
<select itemPath="" produces="JSON">
<urls>
<url env="all">https://api.instagram.com/v1/users/{user_id}/media/recent?access_token={access_token}</url>
</urls>
<inputs>
<key id="user_id" type="xs:string" paramType="path" />
<key id="access_token" type="xs:string" private="true" paramType="path" required="true" default="4821542541.6ac95bb.85d9220cc8774723853f4ebd4096f950"/>
</inputs>
</select>
</bindings>
</table>
47 changes: 46 additions & 1 deletion wordpress/wordpress.post.xml
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@
<url/>
</urls>
<inputs>

<key id="postid" type="xs:string" paramType="variable" required="true"/>
<key id="blogurl" type="xs:string" paramType="variable" required="true"/>
<key id="username" type="xs:string" paramType="variable" required="true"/>
Expand Down Expand Up @@ -427,6 +426,52 @@
response.object = results;
]]></execute>
</select>
<select itemPath="" produces="XML">
<urls>
<url/>
</urls>
<inputs>
<key id="blogurl" type="xs:string" paramType="variable" required="true"/>
<key id="username" type="xs:string" paramType="variable" required="true"/>
<key id="password" type="xs:string" paramType="variable" required="true"/>
<key id="numberOfPosts" type="xs:integer" paramType="variable" required="false" default="100"/>
</inputs>
<execute><![CDATA[
postData = <methodCall>
<methodName>metaWeblog.getRecentPosts</methodName>
<params>
<param>
<value>
<string>0000</string>
</value>
</param>
<param>
<value>
<string>{username}</string>
</value>
</param>
<param>
<value>
<string>{password}</string>
</value>
</param>
<param>
<value>
<string>{numberOfPosts}</string>
</value>
</param>
</params>
</methodCall>;

url = blogurl + "/xmlrpc.php";
myRequest = y.rest(url);
myRequest.contentType("text/xml");
//myRequest.accept("text/xml");
myRequest.header("Connection", "close");
results = myRequest.post('<?xml version="1.0" encoding="UTF-8"?>' + postData.toString()).response;
response.object = results;
]]></execute>
</select>
<delete itemPath="" produces="XML">
<urls>

Expand Down