mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-31 10:58:19 +00:00
123 lines
6.1 KiB
XML
123 lines
6.1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title>Articles on More Contentful</title>
|
|
|
|
<link rel="self" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/feed.atom"/><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/"/><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/feed.json"/><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/feed.rss"/><rights>© 2023 </rights>
|
|
<generator uri="https://gohugo.io/" version="0.96.0">Hugo</generator>
|
|
<updated>2020-05-12T21:28:27+08:00</updated>
|
|
<id>https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/</id><icon>https://foo-dogsquared.github.io/hugo-theme-more-contentful/icon.png</icon>
|
|
<author>
|
|
<name>John Doe</name>
|
|
<email>johndoe@example.com</email>
|
|
</author><entry>
|
|
<id>https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/hidden-post-test/</id>
|
|
<title type="text">Isang hidden post test</title>
|
|
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/hidden-post-test/" hreflang="tl" title="Isang hidden post test"/><category term="tag1"/><category term="tag2"/>
|
|
<published>2020-05-12T21:28:27+08:00</published>
|
|
<updated>2023-02-27T13:27:15+08:00</updated><content type="html"><div class="paragraph">
|
|
<p>Kamusta!
|
|
At papano mo nahanap to?!</p>
|
|
</div>
|
|
<div class="paragraph">
|
|
<p>Isang test ito para sa hidden post feature ng Hugo Contentful.</p>
|
|
</div>
|
|
</content>
|
|
</entry><entry>
|
|
<id>https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/rss-atom-and-json-feed-support/</id>
|
|
<title type="text">Supporta para sa RSS, Atom, at JSON feeds</title>
|
|
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/rss-atom-and-json-feed-support/" hreflang="tl" title="Supporta para sa RSS, Atom, at JSON feeds"/><author>
|
|
<name>Juan dela Cruz</name>
|
|
</author><author>
|
|
<name>Juana dela Cruz</name>
|
|
</author><author>
|
|
<name>Mang Kanor</name>
|
|
</author><category term="this is a test tag"/><category term="tag2"/>
|
|
<published>2019-09-04T17:22:44+08:00</published>
|
|
<updated>2023-02-27T13:27:15+08:00</updated><content type="html"><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>
|
|
</content>
|
|
</entry></feed>
|