TG-InstantView

Beschrijving

Plugin to trigger Telegram Instant View for all Blog posts.

Principal: it detects Telegram bot and returns special template for posts, to trigger Instant View.

  • No template submitting required.
  • No special links required.
  • Compatable with any cross-posting systems.

Original Telegram InstantView templates registry appears to be dead, my template was not reviewed and submitted in over 1 year. This plugin solves this issue server-side.

My telegram channel with plugin active.

Project sources on Github (please submit issues there).

Schermafdrukken

  • InstantView in Telegram mobile channel
  • InstantView opened
  • InstantView opened (gallery)

FAQ

Why not to use original Telegram Instant View templates registry?

Telegram’s InstantView looks abadoned, they do not accept new templates for years.

Why not to use way to build URL via Telegram InstantView Bot?

This works, but it will create ugly long URL. This plugin makes everything clear, like you have template in registry, you may post clear links to posts directly, your frends may do so and so on.

I installed plgun, but i still dont see InstantView on my posts

If you still dont see InstantView on URL’s, check the following:

  • Telegram bot caches parsing result, and Instant View will be triggered for new URL’s for bot. You may prune cache by adding some random parameters like test=123 and change it every time, Telegram bot will request again.
  • Instant View works only on mobile cliens! Do not try to test it desktop clients.

I want to test, how Telegram sees my post via InstantView

To test, how your posts appears for Telegram bot, just add tg-instantview=1 parameter to post URL, Post example.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“TG-InstantView” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “TG-InstantView” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.3

  • Fixes from WordPress review: template html, prefixes, license

1.2

  • Fixes from WordPress review: escaping, prefixes and etc

1.1

  • Fixes for standart templates redirection

1.0

  • Initital version