TfeServer

Blog de tfe, Perl, Web et Libre...?

Blog

Override a file in FirefoxOS/DeviceStorage

Publié le 22/07/2015 dans FirefoxOS

Apaprently, there is no way to directly override a file in DeviceStorage API.

So, the easiest way to override a file is to remove it, then created a new one:


/* Parameters: blob content, and file destination(string) */
function override_file(blob,file)
{
 return new Promise(function(ok, reject)
    {
 var sdcard = navigator.getDeviceStorage('sdcard');

        // Check if existing file exists
        request = sdcard.delete(file);

        // file existed
        request.onsuccess = function() {
            var request = sdcard.addNamed(blob, file);
            request.onsuccess = ok;
            request.onerror = reject
        };

        // file was not existing, but creating a new one anyway
        request.onerror = function() {
            console.log('creating new file! file');
            var request = sdcard.addNamed(blob, file);
            request.onsuccess = ok;
            request.onerror = reject;
        };
   });
}

Tfe RSS 0.3.2

Publié le 06/07/2015 dans firefoxos

Just released a new version of Tfe RSS, the RSS Reader for FirefoxOS, with some new features:

  • Search in feeds
  • Feedly login on desktop
  • New settings interface
  • Button labels
  • A about section

As always, please post the bugs found on github.

FirefoxOS RSS Reader

Publié le 03/06/2015 dans FirefoxOS

Today my RSS Reader "Tfe RSS" just got released!

It is developped for FirefoxOS, but is compatible with all Firefox versions (desktop, mobile, tablet).

The app connect to famous RSS Apis like "The old reader", "Tiny Tiny RSS", or "Feedly". All the data is syncronized with the server.

Sources are available at github.

 

Here are some screenshots:

  • The loggin form for "The Old Reader"
  • The loggin form for "Tiny tiny RSS"
  • The list of feeds displayed (main screen)
  • A Feed article opened
  • List of labels/categories

 

 

 

 

 

Working on a RSS Reader

Publié le 18/05/2015 dans FirefoxOS

I am currently working on a RSS Reader called 'Tfe RSS'. It is based on famous online rss reader apis to fetch the information of feeds.

I am waiting for now for the production api of feedly key to release it, but you can still download it manually from github..

Update on the old reader linux client

Publié le 20/02/2015 dans Perl

I'm still working on the old reader linux client, and today i just introduced a few functionalities:

the old reader linux client

  • Mark feeds as shared/liked
  • Display shared names of items
  • Display labels for each feed item
  • Left column can now display feed instead of labels