allow streaming downloads to export channel feed data

This commit is contained in:
Lee Lawlor
2014-04-01 23:20:12 -04:00
parent 47ba7a6fa5
commit 353fab53c0
9 changed files with 107 additions and 13 deletions

View File

@ -1,4 +1,5 @@
<div class="FL">
<h3><%= t(:import) %></h3>
<%= t(:upload_select) %>
<br>
@ -11,6 +12,12 @@
<%= f.submit t(:upload), :disable_with => t(:uploading) %>
<% end %>
<br><br>
<h3><%= t(:export) %></h3>
<%= t(:download_feeds) %>
<br><br>
<%= button_to t(:download), "#{@ssl_api_domain}stream/channels/#{@channel.id}/feeds?api_key=#{@channel.write_api_key}" %>
</div>
<div id="sidebar_old" >

View File

@ -24,7 +24,7 @@ Valid parameters:
<li><b>elevation</b> (integer) - Elevation in meters (optional)</li>
<li><b>status</b> (string) - Status update message (optional)</li>
<li><b>twitter</b> (string) - Twitter username linked to <a href="/docs/thingtweet">ThingTweet</a> (optional)</li>
<li><b>tweet</b> (string) - Twitter status update (optional)</li>
<li><b>tweet</b> (string) - Twitter status update; see <a href="/docs/thingtweet#update">updating ThingTweet</a> for more info (optional)</li>
<li><b>created_at</b> (datetime) - Date when this feed entry was created, in the format<br>YYYY-MM-DD%20HH:NN:SS (optional)</li>
</ul>