2ch commited on
Commit
ee4db52
·
verified ·
1 Parent(s): a4ffe21

Create view.html

Browse files
Files changed (1) hide show
  1. view.html +35 -0
view.html ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+
3
+ <head>
4
+ <title>$title</title>
5
+ <meta property="og:site_name" content="$site_name">
6
+ <meta property="og:description" content="$description">
7
+ <meta property="article:author" content="$author">
8
+ <!-- $image_url / link preview image is set using og:image property -->
9
+ <!-- <meta property="og:image" content="http://example.com/img.jpeg"> -->
10
+ <meta property="telegram:channel" content="@cor_bee">
11
+ <!-- site_verification property must be present, but @content could be empty (no IVBot-side verification for now?) -->
12
+ <meta property="tg:site_verification" content="g7j8/rPFXfhyrq5q0QQV7EsYWv4=">
13
+ <!-- published_time property must be present, but you could leave @content empty if $published_date isn't needed -->
14
+ <meta property="article:published_time" content="2020-02-03T23:10:04.654Z">
15
+ </head>
16
+
17
+ <body>
18
+ <div class="article">
19
+ <article class="article__content">
20
+ <!-- your "IV-compliant" article body goes here -->
21
+ <!-- for general idea of what "IV-compliant" HTML is refer to IV documentation:
22
+ https://instantview.telegram.org/docs#supported-types (HTML counterpart and allowed children columns) -->
23
+
24
+ <!-- if first element in article is figure it's going to be set/used as article $cover-->
25
+ <!-- <figure>
26
+ <img src="http://example.com/img.jpeg" />
27
+ <figcaption>figcaption</figcaption>
28
+ </figure> -->
29
+ <p>Hello world</p><p>Hello world</p>
30
+ <p>Hello world</p>
31
+ </article>
32
+ </div>
33
+ </body>
34
+
35
+ </html>