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

196 lines
7.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="tl"><title>Supporta para sa RSS, Atom, at JSON feeds</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<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" /><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"/>
<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" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/" />
<meta property="article:published_time" content="2019-09-04T17:22:44+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/">Contentful</a>
<div class="site__links">
|
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/about/">About</a> |
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/categories/">Categories</a> |
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<article>
<header>
<h1>Supporta para sa RSS, Atom, at JSON feeds</h1>
</header>
<div class="post__meta">
<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-04 17:22:44 &#43;0800 &#43;0800">Created: <time datetime="2019-09-04">2019-09-04</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-translations="[&#34;English&#34;]">Translations: <a href=https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/>English</a></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<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>
</main>
</article>
<hr>
<footer>
<p><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/">Back to home</a></p>
</footer>
<p>Available in other languages:
<span class="site__languages">|
<a href="/hugo-theme-contentful/en">English</a> |
<a href="/hugo-theme-contentful/tl">Tagalog</a> |
</span>
</p>
<p>© 2021 Contentful</p>
</body>
</html>