-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
127 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
{'<?xml version="1.0" encoding="utf-8"?>'} | ||
<feed xmlns="http://webmastertool.naver.com"> | ||
<!--#include("./include.channel.html")--> | ||
<!--@if($articles->list)--> | ||
<!--@if($articles->next_url)--><link rel="next-in-thread" href="{htmlspecialchars($articles->next_url)}" /><!--@end--> | ||
<!--@foreach($articles->list as $key => $article)--> | ||
<!--#include("./include.articles.html")--> | ||
<!--@end--> | ||
<!--@elseif($deleted->list)--> | ||
<!--@if($deleted->next_url)--><link rel="next-in-thread" href="{htmlspecialchars($deleted->next_url)}" /><!--@end--> | ||
<!--@foreach($deleted->list as $key => $delete)--> | ||
<!--#include("./include.deleted.html")--> | ||
<!--@end--> | ||
<!--@end--> | ||
<include target="./include.channel.html" /> | ||
|
||
<block cond="$articles->list"> | ||
<block loop="$articles->list => $key, $article"> | ||
<include target="./include.articles.html" /> | ||
</block> | ||
</block> | ||
|
||
<block cond="$deleted->list"> | ||
<block loop="$deleted->list => $key, $delete"> | ||
<include target="./include.deleted.html" /> | ||
</block> | ||
</block> | ||
</feed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
<entry> | ||
<id>{$article->alternative_href}</id> | ||
<title>{htmlspecialchars($article->title)}</title> | ||
<author> | ||
<name>{htmlspecialchars($article->nick_name)}</name> | ||
</author> | ||
<updated>{$article->updated}</updated> | ||
<published>{date('Y-m-d\TH:i:s',ztime($article->regdate)).$time_zone}</published> | ||
<link rel="via" href="{$article->channel_alternative_href}"/> | ||
<content type="html">{htmlspecialchars($article->content)}</content> | ||
<summary/> | ||
<category/> | ||
</entry> | ||
<entry> | ||
<id>{$article->alternative_href}</id> | ||
<title><![CDATA[{$article->title}]]></title> | ||
<author> | ||
<name><![CDATA[{$article->nick_name}]]></name> | ||
</author> | ||
<updated>{$article->updated}</updated> | ||
<published>{$article->published}</published> | ||
<link rel="via" href="{$article->channel_alternative_href}" title="{htmlspecialchars($channel_info->title)}" /> | ||
<content type="html"><![CDATA[{$article->content}]]></content> | ||
<category cond="$article->category" term="{$article->category->term}" label="{htmlspecialchars($article->category->label)}" /> | ||
</entry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<id>{htmlspecialchars($site_info->self_href)}</id> | ||
<title>{htmlspecialchars($channel_info->title)}</title> | ||
<author> | ||
<name>{$channel_info->site_title}</name> | ||
</author> | ||
<updated>{$channel_info->updated}</updated> | ||
<link rel="site" href="{htmlspecialchars($channel_info->self_href)}" title="{htmlspecialchars($channel_info->title)}" /> | ||
<id><![CDATA[{$channel_info->self_href}]]></id> | ||
<title><![CDATA[{$channel_info->site_title}]]></title> | ||
<author> | ||
<name><![CDATA[{$channel_info->webmaster_name}]]></name> | ||
<url><![CDATA[{$channel_info->site_url}]]></url> | ||
</author> | ||
<updated>{$channel_info->updated}</updated> | ||
<link rel="site" href="{htmlspecialchars($channel_info->site_url)}" title="{htmlspecialchars($channel_info->site_title)}" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<deleted-entry ref="{$delete->alternative_href}" when="{$delete->deleted}" /> | ||
<deleted-entry ref="{$delete->alternative_href}" when="{$delete->deleted}" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<id>{htmlspecialchars($site_info->self_href)}</id> | ||
<title>{htmlspecialchars($site_info->title)}</title> | ||
<author> | ||
<name>{$site_info->site_title}</name> | ||
</author> | ||
<updated>{$site_info->updated}</updated> | ||
<link rel="site" href="{htmlspecialchars($site_info->self_href)}" title="{htmlspecialchars($site_info->title)}"/> | ||
<id>{htmlspecialchars($site_info->id)}</id> | ||
<title>{htmlspecialchars($site_info->title)}</title> | ||
<author> | ||
<name>{$site_info->site_title}</name> | ||
</author> | ||
<updated>{$site_info->updated}</updated> | ||
<link rel="site" href="{htmlspecialchars($site_info->site_url)}" title="{htmlspecialchars($site_info->title)}"/> |