diff options
author | Andrew Dolgov <[email protected]> | 2009-01-23 14:20:05 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-23 14:20:05 +0100 |
commit | 307d187c6ca4fd31523ef9b9d0b483021126328c (patch) | |
tree | 273d2ab481463e392fc67f4ed2e98ed9a7c1ba44 /modules | |
parent | e98b372bcdb18d994d7728b82259dcdf3d389df0 (diff) |
rework assigning articles to tags
Diffstat (limited to 'modules')
-rw-r--r-- | modules/backend-rpc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index a6ab9340a..b26304c2b 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -296,7 +296,7 @@ continue; } - print "<!-- $id : $int_id : $tag -->"; +// print "<!-- $id : $int_id : $tag -->"; if ($tag != '') { db_query($link, "INSERT INTO ttrss_tags @@ -307,8 +307,10 @@ db_query($link, "COMMIT"); + $tags_str = format_tags_string(get_article_tags($link, $id), $id); + print "<rpc-reply> - <message>$id</message> + <tags-str id=\"$id\"><![CDATA[$tags_str]]></tags-str> </rpc-reply>"; return; |