• Right now it seems the output of the the feeds is ordered in a predefined way: Multisitetitle, Title, description, timestamp.

    Does anyone know how to change this order, .e.g. putting the timestamp first, then description etc. just so one can customize this exactly as they like

    I have some more questions but lets start with this one. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey chinaman –

    I’ve had on my to-do list for a while to make a template-esque system for styling the output from FeedRead — but nobody has really needed it so far. You could try to work your way through the code in cg-feedread.php where it is building the output, but it’s a bit complex given that it is trying to handle three different output approaches (standard list, wp-post-like, and raw text). But no, it’s not that difficult to reorder from my standpoint.

    if it’s just that you want to move the timestamp up, the test-and-output for the timestamp is near the end, and can be shifted up probably right before the ‘// wrapper the entire item’ line… well, or just after that block if you want it inside the post div (for wp styled).

    fire away on the other questions — they might be easier. 😉

    -d

    Thread Starter chinaman

    (@chinaman)

    Thanks david. well, this was the most pressing one..will try some of your suggestions and see where I end up.

    but.. got another question although it might have been partly discussed before. But i still didn’t get it anyway.

    Right now I use the wordpress styling for the feeds. But I notice there is a bit too much space before the real feeds start being displayed. In the code I noticed some
    tags but I am not sure which is the one I should delete. If you could give me a hunch how to get rid of that, it would be great.

    To get an idea, take a look at http://www.chinasnippets.com/blog/?page_id=94

    This is my testpage. And eventually my goal is actually to be able to sort the feeds by date, e.g. all the latest feeds of june the 16th then the ones from the 17th. A bit like http://www.searchbrains.com/

    Not sure if that’s already possible with your script so until that time, styling everything a bit better would already be great.

    Anyway, thanks for the help. Your scripts are pretty cool.

    I could probably add a date-header option, rather than per-post dates, when in multifeed an both options set to true.

    If you want to send me a mockup of how you would like things laid out better, I can take a look and see if there’s easy ways to help you get the end result you are looking for.

    If you want to be really like searchbrains, you may find a reblog script (which I’m working on, but haven’t released) will serve your purposes better. Hard to say. I also have a lot of work to do on the multifeed thing to make it more optimized for very large numbers of feeds.

    Also, are you using 1.5.2?

    Looking at your output, here’s the things I see:

    – my comments are getting br’s and p wrappers. that may indicate you are using an earlier version. They really shouldn’t create extra lines like that (and if they are still, I’m about to release a point-fix, and can tweak that). that’s a few bits of space.
    – the php-eval script you are using adds an extra line because of the ‘begin php’ comment. that’s one bit of space.
    – I’m guessing your div class=”post” might have top margin/padding, and/or your h7’s. look at CSS for cgfeed, post, h7 and storytitle — any of them could add in padding additionally. that’s a guaranteed bit of space.

    You might find that using the style=0 list styling is more appropriate to what you are trying to do here — hard to say.

    -d

    Thread Starter chinaman

    (@chinaman)

    Hi David,

    Thanks a lot for your reply. I am using 1.5.2.
    I will study your answers and see how far I’ll get. I will be gone for 12 days, going off the beaten track so internet access will not be there those days

    After that, if the offer still stands, I will send you a mockup of the ideal layout:)

    thanks again,

    G.

    Definitely! Ping me when you’re back, here or at cgcode at chait dot net, and I’ll try to help.

    -d

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CG-Feedread | Order of Items’ is closed to new replies.