Installing the mobile application

Embedding inside a webpage

It can also be embedded in a frame inside an HTML page, like the example shown here.

<div style="width:350px; display:inline-block; float:right;
            border:1px solid #aaa; padding:0px; margin-left:10px;">
  <iframe src="http://v.btr.fs.al?lng=sq&proj=ICT_sq"
          width="100%" height="445px"
          seamless="seamless" frameborder="0">
  </iframe>
</div>
<div style="width:350px; display:inline-block;
     float:right; border:1px solid #aaa; padding:5px;">
  <h3 style="margin-top:0px; color:#2a2;">Vocabulary: ICT_sq</h3>

  <iframe src="https://btranslator.fs.al/vocabulary/ICT_sq?display=iframe"
          width="100%" height="400px"
          seamless="seamless" frameborder="0">
  </iframe>
</div>

Vocabulary: ICT_sq

Connecting to social networks.

Disqus

Create a discussion forum at https://disqus.com/admin/create/ and put its name on config.js.

Twitter

Try something like this on terminal:

curl https://btr.fs.al/tweet/sq/vocabulary/ICT_sq?url=http://v.btr.fs.al

Or open it it browser: https://btr.fs.al/tweet/sq/vocabulary/ICT_sq?url=http://v.btr.fs.al

Each time it will return a random term from the vocabulary, in a format suitable for twitter. To make the process automatic, you can use a script like twitter.sh:

#!/bin/bash
### Send tweets from command line.

t='/usr/local/bin/t'
tweet=$(curl https://btr.fs.al/tweet/sq/vocabulary/ICT_sq?url=http://v.btr.fs.al)
mention=$($t followings | sort -R | tail -1)
$t update "$tweet @$mention"

In Linux, calling this script can be automated with a cron job. For example you can create the file /etc/cron.d/twitter with a content like this:

### first create a user with `adduser twitter`
20 */12 * * *  twitter  /home/twitter/twitter.sh > /dev/null 2>&1

### uncomment this line only for debugging
#*/5 * * * *  twitter  /home/twitter/twitter.sh

For instructions on how to install the t twitter client, see: http://xmodulo.com/2013/12/access-twitter-command-line-linux.html

RSS

Try something like this on terminal:

curl https://btr.fs.al/rss-feed/sq/vocabulary/ICT_sq?url=http://v.btr.fs.al

Or open it it browser: https://btr.fs.al/rss-feed/sq/vocabulary/ICT_sq?url=http://v.btr.fs.al

It return a RSS feed of the latest translations. Latest means yesterday. Results are cached, so last minute translations may not appear on the list.

There are services like https://dlvr.it/ which can connect to rss feeds and share the latest items to social networks (Facebook, LinkedIn, etc.) See this article for some other tools: http://www.twelveskip.com/guide/blogging/1189/best-auto-sharing-tools-social-media