[phpBB2 譯文:MOD] 從 phpBB 中產生 RDF/XML

與 phpBB 2.0.x 相關主題。
回覆文章
Mac
百戰天龍馬蓋先
百戰天龍馬蓋先
文章: 2590
註冊時間: 2003-02-02 02:28
來自: MacphpBBMOD
聯繫:

[phpBB2 譯文:MOD] 從 phpBB 中產生 RDF/XML

文章 Mac »

This is a syndication script, for phpBB it calls by default the last 10 post, but you may call specific forums and such if you wish. It outputs to an RDF/XML output.
A demo can be found on here. In my current footer.
This is easy to install, and will be updated first on this site.

這是一個訊息串聯的程式碼,在 phpBB 上它的預設設定能叫出最後 10 篇文章,但你也可以更改叫出的文章數和從特定的版面。它將打資料建立成 RDF/XML 檔
在我的站中你能找到 Demo,就在我的網站檔尾中
這個外掛很容易安裝,而且會在我的站上使先發佈更新檔

代碼: 選擇全部

############################################################## 
## MOD Title: RDF/XML feed from your phpBB
## 外掛名稱: 從 phpBB 中產生 RDF/XML
## MOD Author: Antony, antony_bailey@lycos.co.uk, Antony Bailey, http://rapiddr3am.slackslash.net
## 外掛作者: Antony, antony_bailey@lycos.co.uk, Antony Bailey, http://rapiddr3am.slackslash.net 
## 中文譯者: Mac < ycl_6@sinamail.com > http://phpbb-tw.net/, http://endless-tw.net/ 
## MOD Description: Pulls the last 10 posts from your forum into xml 
## 外掛描述: 拉出最後發表的 10 篇文章,產生即時的文件交換格式 xml
## MOD Version: 1.0.0
## 外掛版本: 1.0.0
## 
## Installation Level: Easy
## 安裝難度: 簡易
## Installation Time: 2 Minutes 
## 安裝時間: 2 分鐘
## Files To Edit: overall_footer.tpl
## 修改檔案: overall_footer.tpl
## Included Files: rdf.php
## 附加檔案: rdf.php
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
## 
## 由於安全上的考量,請檢查: 
## http://www.phpbb.com/mods/downloads/ 是否有此外掛的最新版本 
## 從其他地方下載此檔可能會造成你在你的 phpBB 討論版上寫入有誤的程式碼 
## 基於這個理由,phpBB 將不會為沒有收藏在我們的外掛資料庫的外掛提供支援 
## 我們的外掛資料庫在 http://www.phpbb.com/mods/downloads/ 
## 
############################################################## 
## Author Notes: I want to add a syndcation method to my forum, and this was my first idea.
## 
## 作者留言: 因為我想要在我的討論版中加入訊息串聯的功能,而這是我的第一個想到的方法
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##
## 在你加入這個外掛前,你應該把所有與這個外掛有關的檔案進行備份\r
############################################################## 

# 
#-----[ OPEN 打開 ]------------------------------------------ 
# 
overall_footer.tpl
# 
#-----[ FIND 尋找 ]------------------------------------------ 
# 
<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
# 
#-----[ AFTER ADD 之後加入 ]------------------------------------------ 
# 
<a href="rdf.php" class="mainmenu">RDF/XML</a><br />
# 
#-----[ SAVE/CLOSE ALL FILES 儲存並且關閉所有檔案 ]------------------------------------------ 
# 
# EoM
# 外掛結束 
+ 關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。

phpBB 官網 | 竹貓星球 | MacphpBBMOD | 我的服務
回覆文章

回到「2.0」