|
#1
|
|||
|
|||
|
Feeds for comments
Hello
I'm not myself a user of pixelpost, but a frequent reader of photoblogs powered by pixelpost. And there's one thing I thought was missing in pixelpost: RSS and Atom feeds for comments. So I tackled the problem and made the necessary modifications :-) If you want to offer this functionnality to your readers, you can find all the code and explanations for using it in this post on my blog. The code has been working fine on a friend's photoblog for nearly two months now, but as I don't have a deep understanding of pixelpost code, I probably have overlooked some easier way to offer this functionnality. So don't hesitate to comment on this code. Regards, julien |
|
#2
|
|||
|
|||
|
Could you also provide this as a set of changed files, for those of us who are forced to use Windows at work instead of a sane OS like linux.
Also, without having seen the code, couldn't you do this as an addon? Addons are always more preferable than hacks. |
|
#3
|
|||
|
|||
|
OK, the post on my blog has been updated to provide the changed files. (Sidenote: I also work on Windows, but thanks to Cygwin I can use without any problems tools like patch and diff. ;-) )
It could (and should) probably be done as an addon. But when I started on it, I couldn't find any documentation on the way addons work. So I took the easy way. But now that I found said documentation, I'm not sure I would have been able to provide the same level of functionnality with an addon (namely, it might prove difficult to provide permalinks pointing to a precise comment with an addon, for this I had to modify the function displaying the comments in functions.php). |
|
#4
|
|||
|
|||
|
Quote:
Quote:
I've looked over the code and you could very easily turn this into an addon. Then it will be compatible with 1.4.2 and other future versions. Just take the code that makes the feeds, put them in a seperate file and add the addon variables. |
|
#5
|
|||
|
|||
|
Quote:
(Sorry for my awful english tonight, I'm a bit too tired to look out for grammatical errors. I hope I can still make myself understood...) |
| Post Reply |
| Thread Tools | |
|
|