Hi guys! I'm using blog 4 umbraco to get a small news system. But before we start to use it, we need to add a lot of old news. The problem is changing Post date to have correctly ordered news.
You can use CMSImport and map the Umbraco CreateDate property against the date columns from your database that containst the old news. Only thing is that Blog4Umbraco is creating Date folders when creating the Document. So a manual process would be to create those folders for the correct dates.
The import package is simple but awesome, very useful. But when i import data, i select Blog Post as Template. Previously i have created the nodes 2004>11>26 for year/month/day.
Then i select date node to import the data, but it create again all nodes behind 26. Now i have a blog post under 2004>11>26>2011>1>31 and CREATEDATE it's OK, is 26/11/2004 but it shows on blog with today import date 31/01/2001.The curious thing is that Blog is showing with correct date order, but not correct showing date.
Where can be the problem?
edit: can be on Createdate of "Year,Month,Day" nodes¿¿?¿
yeah. u need to change this where is @updateDate to -> @CreateDate
Then if it can help somebody:
If you need to change Post Date or import old news into new blog 4 umbraco, u need the CMSimport to import data into BlogPost under blog Node, and then if you want to show them arranged by date in the node tree you must create manually Year/Month/Day nodes and move them. Also is possible that you need to change XSLT file to show Create date and not Update date
Thanks Richard you were very fast and very useful.
Change Post Date
Hi guys! I'm using blog 4 umbraco to get a small news system. But before we start to use it, we need to add a lot of old news. The problem is changing Post date to have correctly ordered news.
How can i change posting date?
You can use CMSImport and map the Umbraco CreateDate property against the date columns from your database that containst the old news. Only thing is that Blog4Umbraco is creating Date folders when creating the Document. So a manual process would be to create those folders for the correct dates.
Cheers,
Richard
i have just tried it but i have some problems.
The import package is simple but awesome, very useful. But when i import data, i select Blog Post as Template. Previously i have created the nodes 2004>11>26 for year/month/day.
Then i select date node to import the data, but it create again all nodes behind 26. Now i have a blog post under 2004>11>26>2011>1>31 and CREATEDATE it's OK, is 26/11/2004 but it shows on blog with today import date 31/01/2001.The curious thing is that Blog is showing with correct date order, but not correct showing date.
Where can be the problem?
edit: can be on Createdate of "Year,Month,Day" nodes¿¿?¿
Hi Could it be that the xslt is using the Update Date instead of CreateDate?
umm...BlogListPosts.xslt
yeah. u need to change this where is @updateDate to -> @CreateDate
Then if it can help somebody:
If you need to change Post Date or import old news into new blog 4 umbraco, u need the CMSimport to import data into BlogPost under blog Node, and then if you want to show them arranged by date in the node tree you must create manually Year/Month/Day nodes and move them. Also is possible that you need to change XSLT file to show Create date and not Update date
Thanks Richard you were very fast and very useful.
Best Regards Richard.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.