aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/problems_sorting_after_mass_import.mdwn
blob: 34fa64f6fdad37822257740790b85a4770b70353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
i'm migrating my blog from drupal, and i wrote this (what i thought was) clever script to tap directly into the mysql db. so far it's working great, and the contents gets imported, but the problem is that the order of posts is all FUBAR.

The blog is here: <http://anarc.at/blog/>

the migration script is here: <http://anarc.at/services/wiki/drupal/drupal2ikiwiki.py>

at the time of writing, the current post is: <http://anarc.at/blog/2007-02-08-la-menace-de-linternet-%C3%A0-deux-vitesses/>

the page itself says it was created 8 years ago. why is it on top? it's as if the `sort=meta(date)` parameter was ignored. if i try to preview the `blog` page, the results i get are basically random.

how do i import dates properly? --[[anarcat]]

Gaaah, nevermind, this is [[done]], i had redirection pages that were messing all this up. sorry for the noise.

Related:

* [[forum/Changing_when_a_page_is_posted/]] - suggests the meta directive, doesn't work for me
* [[tips/Importing_posts_from_Wordpress/]] - generates commits through git fast-import, also uses meta