Re: Using WordPressSharp To Publish A Post - http://brudtkuhl.com/using-w...
Jan 29, 2015
from
"Yea you can store them in a dictionary if needed. I actually first built this library to move a ton of hierarchical content from a legacy CMS to WP.
I ended up building a recursive function that handled it nicely. My recursive function had a parameter called parentId that defaults to 0 (if you set it to 0 WordPress knows it's a top level page). So the function just set it every time and would pass the parent id in from the parent page as it recursed. Worked well."
- andy brudtkuhl