For a website I’m doing, I need to get the links in my wordpress blog, as well as the descriptions of these links, and their different categories. I’m interested in 4 categories, and what would be ideal would be an xml file.
I made a php script to retrieve data from a database and transform it in an xml file, but when I went to my wordpress db, I realised (with a bit of horror, I must say, as I didn’t expect that at all) that the links were there, as well as their descriptions, but I don’t have any category info in wp_links. I guess it must be linked somewhere with the id of the link, but I really wouldn’t know where to start doing a php that would take the links output, and then get the category from the other wp table. I’m sure it’s doable, it’s just that I don’t have a clue where to start.
Is there any simple way to get these links as well as their categories ?
Thanks a lot !