Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • You have to enter ssl://pop.gmail.com in the server.
    Your port should be 995.

    Apparently, as Otto pointed out earlier, you can get to the feed through https://mjmorrissey.com/journal/?feed=rss2, which still doesn’t validate. You are having some problems with how it is building your CDATA stuff, and I don’t know if you have a plugin that modified the RSS2.php and the rss.php files.

    Notice the very first <pubdate> is only showing the closing tag: </pubdate>, this is what makes me think that your rss.php files are corrupt.

    If everything else fails, I would get these two files fresh from the box (download) and overwrite whatever you have on your server.

    For some reason, the ‘friendly’ permalink to your Feed is not doing what is supposed to do, but if you use the ‘ugly’ permalink, then it is good to go.

    Also, if you are interested on making sure your RSS2.0 validates, change the following on your WordPress installation:

    Find wp-rss2.php under your wordpress root directory.

    Within the file find:

    wfw:commentRSS

    change it to:

    wfw:commentRss

    Note that the ‘SS’ of ‘RSS’ changed to lower case.

    Then this will validate.

    good luck again.

    Find wp-rss2.php under your wordpress root directory.

    Within the file find:

    wfw:commentRSS

    change it to:

    wfw:commentRss

    Note that the ‘SS’ of ‘RSS’ changed to lower case.

    Then this will validate.

    I also saw some other problems that I am not familiar with, like your pubdate not being populated… I’d just get the Original rss2.php file, update as indicated above, and then upload it to your site.

    Good luck.

    M.

    Thread Starter msandoval

    (@msandoval)

    Sorry Otto, I implemented it and it works just fine.

    Apparently the_time() can be called as many times, and it will always evaluate.

    m.

    Thread Starter msandoval

    (@msandoval)

    No ink was used here… nor trees were harmed during this posting.

    I guess the Special Note didn’t say that it will ignore additional calls to the_date() even within the same post.

    Smarty-Pants. =|

    I don’t know if anyone would be interested, but this is what I wanted to accomplish:

    <div class="calView">
    <div class="M"><?php the_date('M') ?></div>
    <div class="D"><?php the_date('j') ?></div>
    <div class="Y"><?php the_date('Y') ?></div>
    </div>

    This causes to display:

    <div class="calView">
    <div class="M">jun</div>
    <div class="D"></div>
    <div class="Y"></div>
    </div>

    Because there’s two additional calls to the_date() within a post.

    I fixed this by doing the following to the original code:

    <?php if (the_date('M','','',false) != '') { ?>
    <div class="calView">
    <div class="M"><?php the_date('M') ?></div>
    <div class="D"><?php the_date('j') ?></div>
    <div class="Y"><?php the_date('Y') ?></div>
    </div>
    <? php } ?>

    The false switch disables the echo of the function. If this is the first time the function is evaluated within a day then the if succeeds, ergo, it displays div.calView.

    If this is the second post within a day, then div.calView is not rendered.

    Just as an FYI.

    Thanks Otto! I appreciate you pointing me in the right direction.

    M.

    Thread Starter msandoval

    (@msandoval)

    I agree… however, the_date('j') does not display anything at all, even within the very first post.

    Even if there is only one post, either for that day, or on a ‘single post’ view, the_date('j') and the_date('Y') will return nothing… the only one that works as expected is the_date('M')

    Wait… I just understood what you meant.

    Since I am invoking the_date() 3 times within a post, only the first the_date() is being aknowledged…

    AAHHH!!!

    Dang… I guess… back to the drawing board.

    Thanks for your support, and patience.

    Mau.

    I noticed that your Feed is not in RSS format, it is on OPML. I don’t know how you got to change from RSS or RSS2 to OPML.

    Look at my Feed’s code on my site (link at the bottom of the page) and notice the differences.

    Maybe it has to do with the plugin you added?

    m.

    Thread Starter msandoval

    (@msandoval)

    If you enter this:

    <span class="theDay"><?php the_time('j') ?></span>

    It returns:

    <span class="theDay">14</span>

    If, instead of the_time you use:

    <span class="theDay"><?php the_date('j','','') ?></span>

    It returns (even on the first post for that day)

    <span class="theDay"></span>

    That is my problem.

    What I mean is that the_date('j','','') doesn’t return the day, it returns nothing. While the_time('j','','') returns the day of the month (as it should).

    Does this make sense now?

    Please provide guidance.

    Thread Starter msandoval

    (@msandoval)

    Sorry, I just wanted to clarify that I had searched for it already.

    I want to be able to separate Month, Day and Year, but also to display it only one time when I have multiple posts in one day.

    That’s what I want to do.

    If you look at my site then you’ll notice why I want to get rid of the repeated dates.

    I couldn’t agree more, that’s why I have kept my own installation, and I am actually hosting 2 wordpress installations on the same server. =)

    Thread Starter msandoval

    (@msandoval)

    I have been trying to find an answer to this, but haven’t been successful.

    My webhosting company provides PHP, they have provided very decent service ever since I started with them. Check my site. There is a link at the bottom of the page. =)

    They provide an installation of WordPress if you pick their $8.95/month plan. I don’t know how hassle-free their wordpress installation is, because I installed WordPress myself before they started giving this feature. But so far I haven’t had any problems…

    I love their service.

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