Permalink
Browse files

tagging for the night

  • Loading branch information...
stevenhaddox committed Nov 2, 2009
1 parent 44d9d40 commit f2ae8d9beba5afd0ce3b4fae57c938b7eb346bee
View
@@ -3,6 +3,8 @@ log/*.log
db/*.sqlite3
.DS_Store
config/database.yml
+config/deploy.rb
+config/deploy
config/flickr.yml
config/twitter.yml
secret
View
@@ -0,0 +1,4 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+
+load 'config/deploy' # remove this line to skip loading any of the default tasks
@@ -1,3 +1,9 @@
+/* =================== */
+/* = Color Constants = */
+/* =================== */
+@blue: #1EC2FF;
+@pink: #FF1473;
+
/* ================ */
/* = Form Styling = */
/* ================ */
@@ -16,16 +22,19 @@ form label {
margin-right: 20px;
}
+form .required { color: @pink; }
+
+
form.formtastic fieldset.buttons { padding-left: 0; }
form.formtastic fieldset ol li.string input { width: auto; }
form.formtastic fieldset ol li.boolean label { padding-left: 0; }
form.formtastic fieldset ol li.text textarea.tweet { float: left; }
div.counter {
- float: left;
+ float: left;
margin-left: 15px;
- font-size: 1.2em;
- font-weight: bold;
+ font-size: 1.2em;
+ font-weight: bold;
}
/* ============== */
@@ -40,7 +49,8 @@ div.counter {
#pagination a:hover, #pagination a:focus {
border-color: #003366;
background: #5A6D80;
- color: white; }
+ color: white;
+}
#pagination .page_info { color: #aaa; padding-top: .8em; }
#pagination .prev_page, #pagination .next_page { border-width: 2px; }
#pagination .prev_page { margin-right: 1em; }
@@ -35,5 +35,35 @@
</div>
</div>
+ <script type="text/javascript" charset="utf-8">
+ var is_ssl = ("https:" == document.location.protocol);
+ var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
+ document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+
+ <script type="text/javascript" charset="utf-8">
+ var feedback_widget_options = {};
+
+ feedback_widget_options.display = "overlay";
+ feedback_widget_options.company = "flickr4twitter";
+ feedback_widget_options.placement = "right";
+ feedback_widget_options.color = "#FF1473";
+ feedback_widget_options.style = "idea";
+
+ var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
+ </script>
+
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-3681150-3");
+ pageTracker._trackPageview();
+ } catch(err) {}
+ </script>
+
+
</body>
</html>
View
@@ -0,0 +1,20 @@
+<h1>Join Flickr4Twitter in 3 Easy Steps</h1>
+
+<div>
+ <ol id="join_steps">
+ <li>Authorize with <a href="http://twitter.com">Twitter</a> via <a href="http://apiwiki.twitter.com/OAuth-FAQ">OAuth</a></li>
+ <li>Authorize with <a href="http://flickr.com">Flickr</a></li>
+ <li>You can post photos to Flickr and Twitter in several ways:
+ <ol>
+ <li>Using our <%= link_to 'web interface', page_path('join_web_interface') %></li>
+ <li>Configure your Twitter client:
+ <ul>
+ <li><%= link_to 'Tweetie 2', page_path('join_tweetie') %></li>
+ <li>Hopefully other clients soon.</li>
+ </ul>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ <h2>Ready to join? We'll walk you through it, just start here <%= image_submit_tag 'twitter_sign_in.png' %></h2>
+</div>
@@ -0,0 +1,19 @@
+<h1>Setting up Tweetie 2 for Flickr4Twitter</h1>
+
+<div>
+ <p>Enter your endpoint URL into Tweetie 2 in a few simple steps:</p>
+ <ol>
+ <li><p>From your accounts screen select "Settings"</p>
+ <p><%= image_tag 'clients/tweetie/accounts.jpg', :alt => 'Select: Settings' %></p>
+ </li>
+ <li><p>Select "Image Service"</p>
+ <p><%= image_tag 'clients/tweetie/settings.jpg', :alt => 'Select: Image Service' %></p>
+ </li>
+ <li><p>Select "Custom..."</p>
+ <p><%= image_tag 'clients/tweetie/image.jpg', :alt => 'Select: Custom...' %></p>
+ </li>
+ <li><p>Enter your endpoint URL (https://flickr4twitter.com/clients/tweetie/[yourhash].xml)</p>
+ <p><%= image_tag 'clients/tweetie/custom.jpg', :alt => 'Enter your endpoint URL' %></p>
+ </li>
+ </ol>
+</div>
@@ -0,0 +1,11 @@
+<h1>Using Flickr4Twitter's Web Interface</h1>
+
+<div>
+ <p>
+ <ol>
+ <li><p>Click "Upload Photo" from the menu</p></li>
+ <li><p>Select an image to upload by clicking "Browse..."</p></li>
+ <li><p>Enter your tweet (optional)</p></li>
+ <li><p>Select "Post Tweet"</p></li>
+ </ol>
+</div>
@@ -2,7 +2,7 @@
<%- for photo in @photos -%>
<% div_for photo do %>
<%- if photo.flickr_image -%>
- <p><%= link_to image_tag(photo.flickr_image.url('thumb'), :alt => photo.flickr_image.url), photo.flickr_image.url('thumb') %></p>
+ <p><%= link_to image_tag(photo.flickr_image.url('thumb'), :alt => photo.flickr_image.url), photo.flickr_image.url() %></p>
<%- end -%>
<p><em>Short URL:</em> <%= link_to photo.short_url, photo.short_url %></p>
<p><em>Caption:</em> <%=h photo.caption %></p>
@@ -4,6 +4,6 @@
<%= form.input :image, :as => :file, :label => 'Image', :required => true %>
<%= form.input :message, :as => :text, :label => 'Tweet', :required => false,
:input_html => { :class => 'tweet', :rows => 3, :cols => 35, :maxlength => 125 } %>
- <%= form.commit_button :button_html => { :value => 'Save' } %>
+ <%= form.commit_button :button_html => { :value => 'Post Tweet' } %>
<%- end -%>
<%- end -%>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f2ae8d9

Please sign in to comment.