What is Mobilizer?


To benefi from this feature You need at least basic knowledge on web-design (code-wise): HTML/CSS and using debug/developer mode in Your web browser.

Mobilizer works while loading full articles. It removes header and footer of a website containing the article, navigation panel, advertisement, and so on.

The name "Mobilizer" is inherited from another Android app called "Just Reader".

As a matter of fact a website is a set of HTML pages. You may visualize such a page as a tree of so-called HTML tag nodes. What the Mobilizer do is to try to find the node that contains only the actual article's text.

By default Mobilizer use some algorithm trying to determine that "root full text node" automatically. By it may be wrong - in that case in Handy's full text mode you may see the article with many "garbage" elements or only a piece of text. For such cases (sites) you can set the root element manually by ID or class attribute (HTML/CSS). You can do it by adding a string to context extract rules preference (Handy settings ➜ Advanced ➜ Content extract rules) - in a following way:


For example:

ID or class attribute value can be determined with the help of Your web browser debug/developer mode.

Adjusting the Mobilizer comes in handy also in case a website You want to subscribe does not have an RSS feed. In that case You need to:

  1. On the "Edit a feed" screen (a pencil icon on the sidebar, then tap on the chosen feed) set "Load type" to "Web (load all links)".
    Warning: in this case URL address cannot contain a word "feed" or "rss".
  2. Add a line with the proper CSS or ID name into the context extract rules box (described above) in app's settings.

How to make the Mobilizer work even better?
You may achieve it by using a filter feature. Let's say You'd like to subscribe this website - which does not have an RSS feed. To achieve this you need to use so-called regular expression. It will help to determine which parts of a website may be valuable for you (i.e. consisting of actual content) - while all the rest will be rejected.

You may read a little bit more on regular expression matter here - or You may play with it using this site.

Before constructing a regular expression You need a little bit of back-engineering. To be more precise: You need to find out the common part which all useful links present on the website incorporate (although not always it is possible to find that kind of part which could differentiate one group of links from another). In the case of our example all useful links contain a word "wall" - e.g.:


So back to our regular expression: vk.com\/+wall-\d+_\d+ - it means that Handy will be loading only those articles which addresses begin with vk.com/wall- , then contain some numbers, a sign "_" and numbers again.

  1. Add a new source of content: tap "+" icon on the sidebar, choose "Add a custom feed or search for one", then paste https://vk.com/english_bookland into the "URL address" field.
  2. Set "Load type" to "Web (load all links)".
  3. Check other options below if You are interested in using them.
  4. Tap the confirmation icon on the top right corner of the screen.
  5. Tap the pencil icon from the sidebar, locate and choose our example source from the list.
  6. Choose a "FILTER" bookmark.
  7. Tap "+" on the top right, select "ACCEPT" and enter
    into the "keyword(s)" field.
  8. Check ",,,is a regular expression" and "Apply to title or link address".
  9. Confirm by "OK".
  10. Go back to the app main screen and choose the same source - this time from the sidebar.
  11. If the app is still updating (animated line on the top) - wait for it to finish or clear Your Android recent app list.
  12. Tap the second icon from the top right for it to be checked. Then tap on three point icon on the top right and choose "Delete all", confirm by "OK", then refresh by the icon (two arced arrows).

No comments:

Post a Comment

If You’d like to share a little bit more thoughts on those, it would be great (it’s not necessary):Jeśli chciał(a)byś nieco bardziej podzielić się wrażeniami, byłoby świetnie (nie jest to konieczne):

Are You a developer and would like a website for Your app? Feel free to contact :) !

Jesteś deweloperem i chciał(a)byś stronę dla Swej aplikacji? Zapraszam do kontaktu :) !

Sind Sie ein Entwickler und möchten eine Webseite für Ihre App? Suchen Sie einfach den Kontakt :) !