Recent Topics

1 Jan 17, 2009 23:28    

My b2evolution Version: Not Entered

I'm moving several posts to another blog. Now the issue_date is today (when I created the post on the blog), but I want to retain the original date which is stored in post_datestart.

Atom uses issue_date.
How would the Atom feed react if I hardcoding changed

<published>issuedate()</published>


to

<published>post_datestart</published>

Will feedreaders complain or is this a non issue?

thanks

2 Jan 18, 2009 00:28

Something completely different is going on. The next tag reads:

<updated><?php $Item->issue_date( 'izoZ', true ) ?></updated>


so I hacked it to:

<updated><?php 
			if( $Item->mod_date( 'U', true ) > 1232233525 )
			{
				$Item->mod_date( 'isoZ', true );
			}
			else
			{
				$Item->issue_date( 'izoZ', true );
			} ?></updated>


and it seems to do what I want.

3 Jan 18, 2009 08:00

UPDATE T_items__item SET post_issue_date = post_date_modified WHERE post_main_cat_ID IN ( comma separated list of blogs cat id's )

;)

¥


Form is loading...