Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-05-15 22:51:00
- kroko
- New Member
- Registered: 2008-05-15
- Posts: 2
How to send new feed notice when an article has been updated?
Hello!
I have nearly set up a bilingual (latvian&english) webpage using Textpattern.
(Textpattern 4.0.6., gbp_admin_library 0.4.632, rss_auto_excerpt 0.5, l10n 0.7.650, zem_contact_lang-mlp 4.0.3-MLP, zem_contact_reborn 4.0.3.20).
1)
The content I will serve are my mac related scripting projects and some permanent articles. Thus it’s not a blog with new article every day -> all articles (projects) are like logs, with rapid upgrades in the content.
I cannot figure out how to “update”. I want to achieve, that after updating content of an article (i.e. a new version is out), those who are subscribed to RSS/Atom feeds are noticed about the fact. How to achieve that?
The way I see it in the current way Textpattern works, is that i need a script that creates a new article, and deletes the old one. Of course there is also a need for “copying” all comments to new place.
2)
A less important problem is that i want to show <txp:modified />
instead of <txp:posted />
in the webpage. I tried ob1-modified v2.1 plugin <txp:ob1_modified />
, it prints the last modification date of article, but meantime gives out error:
——————————————
tag_error <txp:ob1_modified format=”%Y” /> -> Textpattern Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘tp
LEFT JOIN
macpadtxp_users as txp_users tu ON tp.LastModId = tu.nam’ at line 4
SELECT
tp.LastModId, unix_timestamp(tp.LastMod) AS LastMod, tu.RealName AS LastModUser, ts.Realname AS AuthorName
FROM
macpadl10n_txp_lv_lv as l10n_txp_lv_lv tp
LEFT JOIN
macpadtxp_users as txp_users tu ON tp.LastModId = tu.name
LEFT JOIN
macpadtxp_users as txp_users ts ON tp.authorid = ts.name
WHERE
tp.ID = ‘1’
on line 117
——————————————
I’m using mysql 5.0.45
Any solution with this plugin, or other methods?
I have searched solutions for the problems described, but it seems that this forum is the last resort.
Many thanks in advance!
kroko
Offline
Re: How to send new feed notice when an article has been updated?
kroko wrote:
I cannot figure out how to “update”. I want to achieve, that after updating content of an article (i.e. a new version is out), those who are subscribed to RSS/Atom feeds are noticed about the fact. How to achieve that?
- You could update the publishing time (TXP / Write / More / Set publish time to now).
- Or you could sort your articles with modified time and create a custom feed.
- If you still want to use the modified time, then jmd_modified
Offline
#3 2008-05-16 07:19:38
- kroko
- New Member
- Registered: 2008-05-15
- Posts: 2
Re: How to send new feed notice when an article has been updated?
- You could update the publishing time (TXP / Write / More / Set publish time to now).
- Or you could sort your articles with modified time and create a custom feed.
- If you still want to use the modified time, then jmd_modified
I’m new to Textpattern, therefore didn’t new the first possibility described. Simple and that works perfect for my needs to show the last modification date for an article in webpage. Thank you!
But the problem with rss feeds still remains. Will explain once more the workflow:
a) a person subscribes to rss feed and puts it in a feed-reader;
b) feed-reader gets all current info from webpage;
c) then I update an article/project;
d-needed) subscriber gets notification (unreaded article) in his rss feed.
But
d-current) no new rss feeds are passed and subscriber doesn’t know of updates; article, it’s date and excerpt remains the same in rss-reader.
This is a major problem :/
Any more suggestions in addition to previous?
Thanks,
kroko
Offline
#4 2008-05-18 04:17:55
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: How to send new feed notice when an article has been updated?
That is the fault of the rss reader. My reader easily picks up on updated Textpattern articles.
Offline