分類rss修正

hkwebs有一篇關於在TatterTools中加入分類rss的教學,這個功能確實是挺好用的。

但在TatterTools 0.96版本中卻會出現錯誤訊息如下
Missing argument 4 for attach_image()

要修正這個錯誤只需修改 在TatterTools中加入分類rss 這篇文章中壓縮檔內所附的 rss.php

搜尋:

php · [高亮] · [原始]

  1. attach_image($body, $s_attach_path.$image_file_path1.$image_file_path2, $r_attach_path.$image_file_path1.$image_file_path2)
attach_image($body, $s_attach_path.$image_file_path1.$image_file_path2, $r_attach_path.$image_file_path1.$image_file_path2)

取代:

php · [高亮] · [原始]

  1. attach_image(0, $body, $s_root_path, $r_root_path, $attach_path.$image_file_path1.$image_file_path2)
attach_image(0, $body, $s_root_path, $r_root_path, $attach_path.$image_file_path1.$image_file_path2)

3 Responses to “分類rss修正”

  1. withmanjusri Says:

    依照您的教學新增了RSS分類後,發現個別文章也可以訂閱RSS。接著想到,有沒有辦法讓「回應」也出現在RSS中呢?

  2. Beata Says:

    可以是可以,但是必須大幅度的修改核心程式。
    因為我現在沒有使用TT了,再這裡為不能替你解決問題感到抱歉ˊ ˋ

  3. SADF Says:

    我有用過,可到現在他的作用還不是搞得很明白。。。

Leave a Comment