Question for Wordpress auto gallery

Discussion in 'White Hat SEO' started by undeterminederror, Apr 3, 2008.

  1. undeterminederror

    undeterminederror BANNED BANNED

    Joined:
    Mar 31, 2008
    Messages:
    630
    Likes Received:
    457
    Hi. I use Wordpress as a gallery for pictures ( just because google likes wordpress more than any gallery CMS ). All my posts look like that:
    HTML:
    <img src="http://wordpressblog.com/pics/<?php echo sanitize_title($post->post_title) ?>.jpg" alt="<?php the_title(); ?>" />
    The function
    HTML:
    <?php echo sanitize_title($post->post_title) ?>
    is the permalink and i use that to read the names of the pics from the folder "pics". The post with the title "My big black dog" will find the picture my-big-black-dog.jpg in the directory and post it. So all I do is to match the names of the pics with the titles.
    Now the question is:
    How can I read the entire list of the pics in the directory, after i upload them, then create the posts automatic without writing all the titles every post?
    Just for example, I found a plugin here:
    HTML:
    http://helvensteijn.com/wordpress/wp-list-files
    It just creates a list of files in a directory.
    But I need to create posts with that kinda list...
    The list could be wrapped in a rss or mysql for wordpress.
    This was just for example.
    Sorry for my English. I hope i was clear. Did i? :eek:
     
  2. undeterminederror

    undeterminederror BANNED BANNED

    Joined:
    Mar 31, 2008
    Messages:
    630
    Likes Received:
    457
    Ok, this question seems hard even to me, let's take it easy way:

    -I have a wordpress blog;
    -the body of the posts is the same, but the titles are unique;
    -need something to autopost all the titles i write in a txt list.

    Is there a hack to do this?