Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: client/samples/swarm/appengine/upload.html

Issue 9314024: Final CL to kill off client/samples . (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/samples/swarm/appengine/top.html ('k') | client/samples/swarm/back-21.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!-- Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 for details. All rights reserved. Use of this source code is governed by a
3 BSD-style license that can be found in the LICENSE file. -->
4
5 <html>
6 <body>
7 <h1>Upload New Fake Feed</h1>
8
9 <p>This magnificent administration interface is your gateway to an exciting
10 career in uploading hand-curated fake news feeds into this server. You can
11 then view them directly on the server, or download them back down in
12 long-tasting and great-tasting CannedData form.</p>
13
14 <ol>
15 <li>Make a fake feed. This is a JSON file.</li>
16 <li>Go here. It seems you've already completed this step.</li>
17 <li>Click the "JSON File" button and select your local file.</li>
18 <li>Click "Submit". It is not necessary to kneel beforehand, but it may
19 help. Your call.</li>
20 <li>You're done!</li>
21 </ol>
22
23 <p>Here's a sample of what the JSON file should look like:</p>
24
25 <pre>
26 {
27 "section":"awesome",
28 "id":"feed/http://www.example.com/feed/",
29 "title":"Example Feed",
30 "alternate":[{"href":"http://www.example.com"}],
31 "updated":1307338620,
32 "items":[
33 {
34 "id":"fake/example.com/1",
35 "title":"I am the first post!",
36 "published":1307337590,
37 "alternate":[{"href":"http://www.example.com/first"}],
38 "content":{
39 "content":"This is the text of the first post."
40 },
41 "author":"Fred Example"
42 },
43 {
44 "id":"fake/example.com/2",
45 "title":"I am the second post!",
46 "published":1307336590,
47 "alternate":[{"href":"http://www.example.com/second"}],
48 "content":{
49 "content":"This is the text of the second post."
50 },
51 "author":"Fred Example"
52 },
53 {
54 "id":"fake/example.com/3",
55 "title":"I am the third post!",
56 "published":1307335590,
57 "alternate":[{"href":"http://www.example.com/third"}],
58 "content":{
59 "content":"This is the text of the third post."
60 },
61 "author":"Fred Example"
62 }
63 ]
64 }
65 </pre>
66
67 <form action="/update/upload" method="POST" enctype="multipart/form-data">
68 JSON File: <input type="file" multiple="" name="files"><br>
69 <input type="submit" name="submit" value="Submit">
70 </form>
71 </body>
72 </html>
OLDNEW
« no previous file with comments | « client/samples/swarm/appengine/top.html ('k') | client/samples/swarm/back-21.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698