Permalink
Browse files

add external links

  • Loading branch information...
1 parent 5fb2d85 commit 332f59c0e8035958eacee5456efb45886b76d686 @WardCunningham committed Jun 29, 2011
Showing with 84 additions and 2 deletions.
  1. BIN client/twitter-maintainance.jpg
  2. +1 −1 data/pages/indie-web-camp
  3. +80 −0 data/pages/why-indie-web
  4. +3 −1 server/server.rb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -19,7 +19,7 @@
{
"id": "12fb979dde3a8733",
"type": "paragraph",
-"text": "This is the basis of the \"Indie Web\" movement (see [[why-indy-web]] for more).\nWe'll get together for a weekend to talk about what has been done in the field, and what still needs to be done.\nThere will be workshops and breakout sessions."
+"text": "This is the basis of the \"Indie Web\" movement (see [[why-indie-web]] for more).\nWe'll get together for a weekend to talk about what has been done in the field, and what still needs to be done.\nThere will be workshops and breakout sessions."
}],
"trail":
[
View
@@ -0,0 +1,80 @@
+{
+ "title": "Why Indie Web",
+ "synopsys": "We should all own our own content and keep it some place we control.",
+ "body": [
+ {
+ "text": "\"You're here because you know something. What you know you can't explain, but you feel it. You've felt it your entire life, that there's something wrong with the world.\" — Morpheus, The Matrix"
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<h2>Why Indie Web Camp?</h2>"
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "Rather than posting content on many third-party silos of data, we should all begin owning our own data that we're creating when we create it. Publish short status updates first on your own domain, and then syndicate to Twitter. Publish photos on your own domain, then syndicate to Flickr, etc, etc. This is the basis of the \"Indie Web\" movement."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "We've seen our data die on 3rd party sites, and we've stored our content in places that we have no control over. This content is becoming more important, and sometimes even critical to our lives. It is not secure in the hands of random startups, organizations and web companies. We should be the holders of our own data."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<h2>Why Indie Web?</h2>"
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<li>You've bought your own domain for vanity reasons but now want to put it to good use."
+ },
+ {
+ "id": "c03f9845c0983450",
+ "type": "image",
+ "caption": "Twitter Maintenance",
+ "url": "twitter-maintainance.jpg"
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<li>You're frustrated by the [http://www.flickr.com/photos/tantek/420426227/ downtime], [http://www.flickr.com/photos/tantek/5322875194/ maintenance], [http://www.flickr.com/photos/tantek/5331910087/ database failures], and [http://www.flickr.com/photos/factoryjoe/3927590515/ unscalability] of web content hosting services."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<li>You've lost content due to [http://etherpad.com/transition.html acquisitions], or [http://news.cnet.com/8301-13577_3-10110443-36.html post-acquisition migrations] to services which were subsequently [http://closing.vox.com/ shut down]. Or had an entire [https://github.com/blog/744-today-s-outage production database blown away]."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<li>You've been disappeared from a hosting service, or suffered from [http://www.zephoria.org/thoughts/archives/2011/04/27/tumblr-disappeared-me.html involuntary identity re-assignment] (perhaps due to trademark claims or other intimidation)."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<li>Whatever the reason, you're done with sharecropping your content, your identity, your self."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "<li>You're here because you know this and you want to design and build a web presence where you're in control."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "We, the organizers of IndieWebCamp want that as well, and have started building it for ourselves."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "Join us and together we can grow the IndieWeb."
+ },
+ {
+ "id": "12fb979dde3a8733",
+ "type": "paragraph",
+ "text": "(More motivational examples/citations linked from: [http://www.w3.org/2005/Incubator/federatedsocialweb/wiki/2010-199-tantek-fsws-talk#sharecropping_and_site_death \"Itches&Scratches: sharecropping and site death\" - 2010-199 Federated Social Web Summit talk by Tantek])"
+ }
+ ]
+}
View
@@ -12,7 +12,9 @@ def get_page name
File.open("data/pages/#{name}", 'r') { |file| JSON.parse(file.read)}
end
def resolve_links string
- string.gsub(/\[\[([a-z-]+)\]\]/, '<a href="/\1">\1</a>')
+ string.
+ gsub(/\[\[([a-z-]+)\]\]/, '<a href="/\1">\1</a>').
+ gsub(/\[(http.*?) (.*?)\]/, '<a href="\1">\2</a>')
end
end

0 comments on commit 332f59c

Please sign in to comment.