-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfeed.html
More file actions
90 lines (88 loc) · 3.46 KB
/
feed.html
File metadata and controls
90 lines (88 loc) · 3.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="The Trackle Blog" />
<meta property="og:url" content="https://trackle4.pages.dev/feed" />
<meta property="og:image" content="https://trackle4.pages.dev/assets/thumbnail.png" />
<link rel="alternate" type="application/rss+xml" title="Trackle Blog" href="/feed/rss" />
<title>The Trackle Blog</title>
<link rel="icon" href="favicon.ico">
<link rel="manifest" href="/manifest.json" />
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet">
<link href="/shared.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-rss/3.3.0/jquery.rss.min.js"></script>
<script>
jQuery(function($) {
$("#feeds").rss("https://trackle-blog.blogspot.com/feeds/posts/default?alt=rss",
{
limit: 10,
ssl: true,
layoutTemplate:'{entries}',
entryTemplate:'<div class="station"><a href="{url}">{title}<div class="subline">{cat} | {date}</div></a></div>',
tokens: {
cat: function(entry, tokens) {
return entry["title"];
}
},
success: function() {
blogLinkback = document.createElement("div");
blogLinkback.classList.add('station');
blogLinkback.innerHTML = '<a href="https://trackle-blog.blogspot.com/">View More Posts<div class="subline">The Trackle Blog</div></a>'
$("#feeds").append(blogLinkback);
},
}
);
})
</script>
<style>
.line {
position: absolute;
top: 50px;
bottom: 105px;
left: 47.25px;
width: 6px;
background-color: #9A114F;
z-index: 0;
opacity: 0;
animation: fadeIn 2s forwards;
animation-delay: 1.5s; /* Delay for line */
}
.station a:hover {
text-decoration: underline;
color: #9A114F; /* Change color on hover */
transform: translateX(5px); /* Slightly move the link */
}
footer {
background-color: #8E0152; /* Quinacridone magenta */
}
</style>
</head>
<body>
<div class="stations-container" id="feeds">
<div class="line"></div>
<div class="station">
<a href="#" class="logo" style="font-size:2.5em;"
>The Trackle Blog</a>
</div>
</div>
<footer>
<a href="/" style=" color: white; text-decoration: underline; text-decoration-color: white;">Return to Home</a></br>
<a href="javascript:;" id="shareButton" style="color: white; text-decoration: underline; text-decoration-color: white;">Share</a><br>
© <span id="year"></span>
<a href="https://sbdesigns.is-a.dev" style="color: white; text-decoration: underline; text-decoration-color: white;">SB Designs</a>
|
<a href="/credits.html" style="color: white; text-decoration: underline; text-decoration-color: white;">Credits</a>
|
<a href="https://status.sbdesigns.is-a.dev" style="color: white; text-decoration: underline; text-decoration-color: white;">Status</a>
</footer>
<!-- Place the script right before closing body -->
<script>
document.getElementById("year").textContent = new Date().getFullYear();
</script>
<script src="/script.js"></script>
</body>
</html>