Spaces:
Sleeping
Sleeping
Create card.html
Browse files- templates/card.html +28 -0
templates/card.html
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!doctype html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8" />
|
5 |
+
<meta name="viewport" content="width=device-width" />
|
6 |
+
<meta name="twitter:card" content="player">
|
7 |
+
<meta name="twitter:site" content="@YourTwitterHandle"> <!-- Replace with your Twitter handle -->
|
8 |
+
<meta name="twitter:title" content="News Feed Hub - Live RSS Stream">
|
9 |
+
<meta name="twitter:description" content="Live RSS news feed with Semantic Search">
|
10 |
+
<meta name="twitter:image" content="https://huggingface.co/spaces/broadfield-dev/RSS_News/resolve/main/static/card_image.jpg"> <!-- Use Flask's url_for for static files -->
|
11 |
+
<meta name="twitter:player" content="https://broadfield-dev-rss-news.hf.space">
|
12 |
+
<meta name="twitter:player:width" content="480">
|
13 |
+
<meta name="twitter:player:height" content="600">
|
14 |
+
<meta name="twitter:player:stream" content="https://broadfield-dev-rss-news.hf.space/card.html">
|
15 |
+
<meta name="twitter:player:stream:content_type" content="application/x-mpegURL">
|
16 |
+
<style>
|
17 |
+
#cap{
|
18 |
+
height:500px;
|
19 |
+
width:100%;
|
20 |
+
}
|
21 |
+
</style>
|
22 |
+
</head>
|
23 |
+
<body>
|
24 |
+
<div id='cap'>
|
25 |
+
<iframe src='https://broadfield-dev-rss-news.hf.space' allow='autoplay' width=100% height=10000px></iframe>
|
26 |
+
</div>
|
27 |
+
</body>
|
28 |
+
</html>
|