hugo-theme-more-contentful/tl/articles/rss-atom-and-json-feed-support/index.html

446 lines
14 KiB
HTML

<!DOCTYPE html>
<html lang="tl">
<head><title>Supporta para sa RSS, Atom, at JSON feeds | More Contentful</title>
<link rel="stylesheet" href="/hugo-theme-more-contentful/css/main.min.f918d3cd493489e84ce3292da6ca269d636130e432857876b773aa1d6560ae5d.css" /><script>
let theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<link rel="shortcut icon" href="/hugo-theme-more-contentful/%20favicon.png" />
<meta name="generator" content="Hugo 0.135.0">
<meta charset="utf-8">
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="
Ang Hugo theme na ito ay mayroon mga templates para sa RSS, Atom, and JSON feeds.
Ito ay nakatutulong para sa madaling pag-publish ng iyong mga gawa.
Ang mga output ng mga templates ay napatunayan laban sa mga validator na may wastong marka.
Ito ang mga sanggunian ng ginamit upang maisagawa ang mga templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
Naka-activate ang mga web feeds at maaaring mo makita ang mga iyon sa sumusunod na weblinks:
" />
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Supporta para sa RSS, Atom, at JSON feeds">
<meta name="twitter:description" content=" Ang Hugo theme na ito ay mayroon mga templates para sa RSS, Atom, and JSON feeds. Ito ay nakatutulong para sa madaling pag-publish ng iyong mga gawa. Ang mga output ng mga templates ay napatunayan laban sa mga validator na may wastong marka.
Ito ang mga sanggunian ng ginamit upang maisagawa ang mga templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
Naka-activate ang mga web feeds at maaaring mo makita ang mga iyon sa sumusunod na weblinks:">
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/rss-atom-and-json-feed-support/">
<meta property="og:site_name" content="More Contentful">
<meta property="og:title" content="Supporta para sa RSS, Atom, at JSON feeds">
<meta property="og:description" content=" Ang Hugo theme na ito ay mayroon mga templates para sa RSS, Atom, and JSON feeds. Ito ay nakatutulong para sa madaling pag-publish ng iyong mga gawa. Ang mga output ng mga templates ay napatunayan laban sa mga validator na may wastong marka.
Ito ang mga sanggunian ng ginamit upang maisagawa ang mga templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
Naka-activate ang mga web feeds at maaaring mo makita ang mga iyon sa sumusunod na weblinks:">
<meta property="og:locale" content="tl">
<meta property="og:type" content="article">
<meta property="article:section" content="articles">
<meta property="article:published_time" content="2019-09-04T17:22:44+08:00">
<meta property="article:modified_time" content="2019-09-04T17:22:44+08:00">
<meta property="article:tag" content="This Is a Test Tag">
<meta property="article:tag" content="Tag2">
<meta itemprop="name" content="Supporta para sa RSS, Atom, at JSON feeds">
<meta itemprop="description" content=" Ang Hugo theme na ito ay mayroon mga templates para sa RSS, Atom, and JSON feeds. Ito ay nakatutulong para sa madaling pag-publish ng iyong mga gawa. Ang mga output ng mga templates ay napatunayan laban sa mga validator na may wastong marka.
Ito ang mga sanggunian ng ginamit upang maisagawa ang mga templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
Naka-activate ang mga web feeds at maaaring mo makita ang mga iyon sa sumusunod na weblinks:">
<meta itemprop="datePublished" content="2019-09-04T17:22:44+08:00">
<meta itemprop="dateModified" content="2019-09-04T17:22:44+08:00">
<meta itemprop="wordCount" content="257">
<meta itemprop="keywords" content="This Is a Test Tag,Tag2"><link rel="canonical" type="text/html" href="/hugo-theme-more-contentful/tl/articles/rss-atom-and-json-feed-support/" />
</head>
<body><header aria-label="Site header">
<nav class="site__nav-header">
<a class="site__title" href="/hugo-theme-more-contentful/tl/">More Contentful</a>
<ul class="site__list">
<li>
<a href="/hugo-theme-more-contentful/tl/about/">About</a>
</li>
<li>
<a href="/hugo-theme-more-contentful/tl/categories/">Categories</a>
</li>
<li>
<a href="/hugo-theme-more-contentful/tl/tags/">Tags</a>
</li>
</ul>
</nav>
<div class="site__theme-btn" aria-label="Theme toggle" aria-hidden="true">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/generic/swatch.svg#swatch"></use>
</svg>
<div class="site__theme-dropdown">
<div class="site__theme-dropdown-list">
<div class="site__theme-item"
data-theme="Default Dark"
data-theme-dark
>Dark</div>
<div class="site__theme-item"
data-theme="Default Light"
data-theme-light
>Light</div>
<div class="site__theme-item"
data-theme="Dracula"
>Dracula</div>
<div class="site__theme-item"
data-theme="Gruvbox dark, hard"
>Gruvbox dark, hard</div>
<div class="site__theme-item"
data-theme="Gruvbox light, hard"
>Gruvbox light, hard</div>
<div class="site__theme-item"
data-theme="Nord"
>Nord</div>
<div class="site__theme-item"
data-theme="Solarized Dark"
>Solarized Dark</div>
<div class="site__theme-item"
data-theme="Solarized Light"
>Solarized Light</div>
<div class="site__theme-item" data-theme-system>
OS default
</div>
</div>
</div>
</div>
<script>
function styleTheme() {
const selectedTheme = window.localStorage.getItem("theme");
for (const el of document.querySelectorAll(".site__theme-item")) {
if (el.dataset.theme == selectedTheme) {
el.classList.add("site__theme-item--selected");
} else {
el.classList.remove("site__theme-item--selected");
}
}
}
const themeDropdown = document.querySelector('.site__theme-btn');
themeDropdown.addEventListener('click', (event) => {
const { target } = event;
if (target.classList.contains("site__theme-item")) {
if (target.dataset.theme) {
theme = target.dataset.theme;
window.localStorage.setItem("theme", theme);
document.documentElement.dataset.theme = theme;
} else {
window.localStorage.removeItem("theme");
delete document.documentElement.dataset.theme;
}
}
styleTheme();
});
styleTheme();
</script>
</header>
<hr aria-hidden="true"/>
<div class="post--single">
<main>
<article>
<header>
<h1>Supporta para sa RSS, Atom, at JSON feeds</h1>
<div class="site__list post__meta" aria-hidden="true"><span class="post__meta-icon-label">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/generic/calendar.svg#calendar"></use>
</svg>
<time datetime="2019-09-04T17:22:44&#43;08:00" title="Created">
2019-09-04
</time>
</span>
<span class="post__meta-icon-label" data-authors="[&#34;Juan dela Cruz&#34;,&#34;Juana dela Cruz&#34;,&#34;Mang Kanor&#34;]" title="Authors">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/generic/pencil.svg#pencil"></use>
</svg>
<span>
Juan dela Cruz, et al.
</span>
</span>
</div>
</header>
<div class="paragraph">
<p>Ang Hugo theme na ito ay mayroon mga templates para sa RSS, Atom, and JSON feeds.
Ito ay nakatutulong para sa madaling pag-publish ng iyong mga gawa.
Ang mga output ng mga templates ay napatunayan laban sa mga validator na may wastong marka.</p>
</div>
<div class="paragraph">
<p>Ito ang mga sanggunian ng ginamit upang maisagawa ang mga templates.</p>
</div>
<div class="ulist">
<ul>
<li>
<p><a href="https://tools.ietf.org/html/rfc4287">Atom 1.0 - IETF RFC4287</a></p>
</li>
<li>
<p><a href="https://jsonfeed.org/version/1">JSON Feed version 1 specifications</a></p>
</li>
<li>
<p><a href="https://cyber.harvard.edu/rss/rss.html">RSS 2.0 specifications</a></p>
</li>
</ul>
</div>
<div class="paragraph">
<p>Naka-activate ang mga web feeds at maaaring mo makita ang mga iyon sa sumusunod na weblinks:</p>
</div>
<div class="ulist">
<ul>
<li>
<p><strong>RSS</strong>: <code>$HUGO_URL/feed.rss</code></p>
</li>
<li>
<p><strong>Atom</strong>: <code>$HUGO_URL/feed.atom</code></p>
</li>
<li>
<p><strong>JSON</strong>: <code>$HUGO_URL/feed.json</code></p>
</li>
</ul>
</div>
<div class="paragraph">
<p>Para i-enable ang mga web feeds, kailangan mong gumamit ng <a href="https://gohugo.io/templates/output-formats">output formats</a> sa iyong site configuration.</p>
</div>
<div class="paragraph">
<p>Ang sumusunod ay ang parte ng site configuration para sa web feeds ng demo.</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-toml" data-lang="toml"># Visit the following for more information:
# https://gohugo.io/templates/output-formats
# Defining the media type of the output formats
# For JSON format, it doesn&#39;t need to be since it&#39;s already built-in into Hugo
[mediaTypes]
[mediaTypes.&#34;application/atom+xml&#34;]
suffixes = [&#34;atom&#34;, &#34;atom.xml&#34;] # You can remove the &#34;atom.xml&#34; if you want
# Redefining RSS media type for the additional suffix
[mediaTypes.&#34;application/rss+xml&#34;]
suffixes = [&#34;rss&#34;, &#34;rss.xml&#34;] # You can remove the &#34;rss.xml&#34; if you want
# Including all of the feed output formats in the build
[outputFormats]
[outputFormats.Rss]
mediaType = &#34;application/rss+xml&#34;
baseName = &#34;feed&#34;
[outputFormats.Atom]
mediaType = &#34;application/atom+xml&#34;
baseName = &#34;feed&#34;
[outputFormats.Json]
mediaType = &#34;application/json&#34;
baseName = &#34;feed&#34;
# Indicating what output formats shall be included
# for the following kinds
[outputs]
# .Site.BaseURL/index.* is available
home = [&#34;HTML&#34;, &#34;JSON&#34;, &#34;RSS&#34;, &#34;ATOM&#34;]
# .Site.BaseURL/$section/index.* is available
section = [&#34;HTML&#34;, &#34;JSON&#34;, &#34;RSS&#34;, &#34;ATOM&#34;]</code></pre>
</div>
</div>
</article>
</main>
<hr aria-hidden="true"/>
<div class="post__meta--single" aria-hidden="true">
<p data-content-author="[&#34;Juan dela Cruz&#34;,&#34;Juana dela Cruz&#34;,&#34;Mang Kanor&#34;]">Authors: Juan dela Cruz, Juana dela Cruz and Mang Kanor</p>
<p data-content-publication-date="2019-09-04T17:22:44&#43;08:00">Created: <time datetime="2019-09-04T17:22:44&#43;08:00">2019-09-04</time></p>
<p data-content-translations="[&#34;English&#34;]">Translations: &lt;a href=/hugo-theme-more-contentful/articles/rss-atom-and-json-feed-support/&gt;English&lt;/a&gt;</p>
</div>
</div>
<hr aria-hidden="true"/><footer aria-label="Site footer">
<a href="#top">Back to top</a>
<p>Available in other languages:
<span class="site__list site__languages">
<a href="/hugo-theme-more-contentful/en" hreflang="en">English</a>
<a href="/hugo-theme-more-contentful/tl" hreflang="tl">Tagalog</a>
</span>
</p>
<nav class="site__list site__socials">
<a class="site__social-icon" rel="me" href="https://example.org/gmail" aria-label="E-mail">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/gmail.svg#gmail"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/keybase" aria-label="Keybase">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/keybase.svg#keybase"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/devdotto" aria-label="Dev.to">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/devdotto.svg#devdotto"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/github/" aria-label="GitHub">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/github.svg#github"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/gitlab" aria-label="GitLab">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/gitlab.svg#gitlab"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/lichess" aria-label="Lichess">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/lichess.svg#lichess"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/picartodottv" aria-label="Picarto.tv">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/picartodottv.svg#picartodottv"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/pixiv" aria-label="Pixiv">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/pixiv.svg#pixiv"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/twitch" aria-label="Twitch">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/twitch.svg#twitch"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/twitter" aria-label="X (formerly Twitter)">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/x.svg#x"></use>
</svg>
</a><a class="site__social-icon" rel="me" href="https://example.org/youtube" aria-label="YouTube">
<svg class="site__icon">
<use href="/hugo-theme-more-contentful/icons/brand/youtube.svg#youtube"></use>
</svg>
</a></nav>
<p>© 2024 More Contentful</p>
</footer>
</body>
</html>