Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter adamjk

    (@adamjk)

    What template are you using, the custom one or the one that uses the display function?

    I didn’t quite understand the ellipses question, also.

    Send me a reply via email if you can, i probably wont check back with this thread for a while…

    http://www.mkaz.com/ref/unix_cron.html is a good online reference for cron jobs. and obviously man crontab on linux/unix.

    I wouldn’t assume that any of your environment variables like $HOME apply when the cron job runs. Use absolute/full paths, so replace the changing directory and just do a php -q /full/path/to/script.php

    Now I’m gonna plug my plugin (haw haw) that doesn’t use cron jobs (yet). RSS Friends Aggregator

    Thread Starter adamjk

    (@adamjk)

    You can’t specify more than one category right now, but I’ll add that for the next release which should be sometime this or next week.

    I don’t plan on supporting category IDs as parameters, but I’ll also take a look into that as well.

    Thread Starter adamjk

    (@adamjk)

    Thread Starter adamjk

    (@adamjk)

    Lookin good.

    Every post is styled with the default styles in WP for posts. e.g.
    <div class=”post”>
    <h2>[Link Name]</h2>
    [Post Title]
    <small>[Date of Post]</small>
    [Content of Post]
    </div>

    What I am thinking I should do is change the div style to a seperate class that can be styled seperately. Also, I’ll add a parameter to the display function to allow for custom date formats. And I’ll also add a horizontal rule with a style that can be customized between posts.

    In the meantime, you can either directly modify the function display_feeds_by_date in friends-rss.php or copy the body of the function into the template file you are using and modify it from there. The display function creates the html output for the posts.

    If you could send me back all your changes, it would be immensely helpful as I could use those changes to generalize my code to allow people to make changes without having to hack at the code, like you may have to do.

    Thanks!

    Thread Starter adamjk

    (@adamjk)

    Right now there is no way to look at older posts, but it is a feature that wouldn’t be too hard to add. I’ll look into it if you would find that useful.

    Also, the number of posts displayed on the page can be controlled by a simple parameter. The default is 10 posts if you’re aggregating by date (newest to oldest).

    -adam

Viewing 6 replies - 1 through 6 (of 6 total)