Source

Pypaste / templates / services.html

The default branch has multiple heads

{% extends "base.html" %}
{% block title %}Friendpaste Services{% endblock %}

{% block content %}
<div class="txt">
    <h1>Friendpaste Services</h1>
     
    <h2>API</h2>
    <p>Friendpaste has an open Application Programming Interface (API for short). This means that anyone can write their own program to post public paste  in new and different ways. The Friendpaste API is available for outside developers without any limits.</p>

    <br />
    <ul>
        <li><a href="/services/json"><strong>Json API</strong></a> - Manage all your pastes via json.</li>
        <li><a href="/services/feed"><strong>Paste feed</strong></a> - Follow paste activity.</li>
    </ul>
    

    <h2>Community</h2>
    <p>You could be in contact with Friendpast via irc on <a href="http://freenode.net">Freenodes</a> or <a href="http://twitter.com">Twitter</a>.</p>
    <br />
    <ul>
        <li>Freenode: <a href="irc://freenode.net/friendpaste">#friendpaste</a></li>
        <li>Twitter : <a href="http://twitter.com/friendpaste">"http://twitter.com/friendpaste</a></li>
    </ul>
    
    <h2>Tools</h2>
    <h3>Friendpaste TextMate Bundle</h3>
    <div class="textmate">
    <p>The <strong>Friendpaste TextMate bundle</strong> lets you insert paste directly into your code without ever having to open your web browser.  Just highlight your text and TextMate will save your selection or document into Friendpaste. You can also easily insert and update paste from their url (More information on <a href="http://macromates.com/textmate/manual/bundles">TextMate bundles</a>).
        <br />
        <br />
        <strong>How does it work?</strong>
        <ol>
            <li>Install python <a href="http://pypi.python.org/pypi/simplejson">simplejson</a> module.</li>
            <li><a href="http://www.friendpaste.com/static/Friendpaste.tmbundle.zip">Download</a> and unzip the bundle file.</li>
            <li>Double-click the bundle to install into TextMate</li>
        <ol>
    </p>
    <p>Once it's installed, you can insert your paste by pressing ⌥⇧⌘V and insert a snippet in your code by pressing  ⌥⇧⌘S. Update a paste by pressing ⌥⇧⌘U (These are just the default settings. You can set them to whatever you want with TextMate.). Put paste url in your clipboard first before update or insert.</p>
    </div>
    <br />
    <br />
    <p><strong>Developer, you have made a tool using friendpaste and want to share with others,
        don't hesitate to send us a <a href="friendpaste@e-engura.com">mail</a>. <br />We will addd a link to it on this page.</strong></p>
    
</div>
    
{% endblock %}