Hello,
Im sure this has a simple solution, but I have searched and searched and search and simply can not determine the answer.
I have created a applescript program that uploads a video and a automatically generated thumbnail to my blog via ftp. It then uses XML-RPC to create a post and embed the video in the post.
I have one snag though: I need the uploaded thumbnail to be "attached" to the post. My theme displays the first "attached" photo in the media library as a post's thumbnail.
I have found how to upload photos via xml-rpc, but the solutions i have found seem to only upload and not attach to a particular post.
and just to clarify, i do no want to embed the uploaded photo in the HTML post, just "attach it" like i would from the media library.
Thanks for your help!
::EDIT::
Thought this might help. I also have XML-RPC attaching two custom fields, video and video-thumb. Each have the URLs of their respective files.