5 Star 15 Fork 26

泰晓科技 / tinylab.org

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
atom.xml 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
falcon 提交于 2021-01-28 05:45 . draft: fix up search issue
---
layout: null
title : Atom Feed
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
<subtitle>{{ site.tagline }}</subtitle>
<link href="{{ site.production_url }}{{ site.JB.atom_path }}" rel="self"/>
<link href="{{ site.production_url }}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.production_url }}/</id>
<author>
<name>{{ site.data.people["admin"].name }}</name>
<email>{{ site.data.people["admin"].email }}</email>
</author>
{% capture tmpcache %}
{% capture nl0 %}
{% endcapture %}
{% endcapture %}{% assign tmpcache = nil %}
{% for post in site.posts %}
{% if post.draft and post.draft == true %}{% continue %}{% endif %}
<entry>
<title>{% capture post_title %}{{ post.title | strip_html | xml_escape | strip }}{%endcapture%}{{post_title}}</title>
<link href="{{ site.production_url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.production_url }}{{ post.url }}</id>{% capture description %}{{ post.description | strip_html | replace: nl0, ' ' | replace: ' ', ' ' | replace: ' ', ' ' | replace: ' ', ' ' | strip_html | xml_escape }}{% endcapture %}{% capture summary %}{% assign tags = post.tags | join: "," %}{% assign addrs = post.addrs | join: "," %}{{ post.categories | join: "," | append: "," | append: post.keywords | append:"," | append:post.album | append:"," | append: tags | append: ',' | append: addrs | strip_html | xml_escape | downcase | split:"," | sort | uniq | join:"," }}{% endcapture %}{% if summary.size != 0 %}<summary>{{description}} {{summary | prepend:"pLACeHoldER," | replace: ",,,", "," | replace: ",,", "," | remove:'pLACeHoldER,' | strip_html }}</summary>{%endif%}
{% capture content %}{{ post.content | strip_html | replace: nl0, ' ' | replace: ' ', ' ' | replace: ' ', ' ' | replace: ' ', ' ' | strip | truncate:200 | xml_escape }}{% endcapture %}{% if content.size != 0 %}<content>{{content}}</content>{% endif %}
</entry>
{% endfor %}
{% for page in site.pages %}{% if page.url contains users.xml or page.url contains ".html" or page.url contains '/404/' or page.url contains "/assets/" or page.url contains ".css" or page.content contains '% assign' or page.content contains '% include' or page.content contains '% for ' or page.content contains '% if' or page.content contains '{{ site.' %}{% continue %}{% endif %} <entry>
<title>{% capture page_title %}{{ page.title | strip_html | xml_escape | strip }}{%endcapture%}{{page_title}}</title>
<link href="{{ site.production_url }}{{ page.url }}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.production_url }}{{ page.url }}</id>
{% capture summary %}{% assign tags = page.tags | join: "," %}{% assign addrs = post.addrs | join: "," %}{{ page.categories | join: "," | append: "," | append: page.keywords | append:"," | append:post.album | append:"," | append: tags | append: ',' | append: addrs | strip_html | xml_escape | downcase | split:"," | sort | uniq | join:"," }}{% endcapture %}{% if summary.size != 0 %}<summary>{{summary | prepend:"pLACeHoldER," | replace: ",,,", "," | replace: ",,", "," | remove:'pLACeHoldER,' | strip_html }}</summary>{%endif%}
{% capture content %}{{ page.content | strip_html | replace: nl0, ' ' | replace: ' ', ' ' | replace: ' ', ' ' | replace: ' ', ' ' | strip | truncate:200 | xml_escape }}{% endcapture %}{% if content.size != 0 %}<content>{{content}}</content>{% endif %}
</entry>
{% endfor %}
</feed>
1
https://gitee.com/tinylab/tinylab.org.git
git@gitee.com:tinylab/tinylab.org.git
tinylab
tinylab.org
tinylab.org
gh-pages

搜索帮助