Results 1 to 8 of 8
  1. #1
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    I need the category field to create a subdirectory, and the subcategory to create the files IN the category directory. All the subcategories can be lumped together in the category (manufacturer) directory.

    Is this possible? I need this structure for existing sites that is already structured this way and are already indexed in the search engines.

    Deborah
    http://loxlygallery.com

  2. #2
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    Richard? Anybody? I can break the feed down by category and build pages for each section separately but that would be a really big pain in the butt.

    If it isn't possible I will go to plan B...

    Deborah
    http://loxlygallery.com

  3. #3
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by loxly:
    I need the category field to create a subdirectory, and the subcategory to create the files IN the category directory. All the subcategories can be lumped together in the category (manufacturer) directory.

    Is this possible? I need this structure for existing sites that is already structured this way and are already indexed in the search engines.<HR></BLOCKQUOTE>

    There should be no penalty for generating pages from multiple passes into the same directory, provided each of the files has a unique name.

    For additional help on building multi-level sites with WebMerge, see Frank's excellent WebMerge Tutorial.

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  4. #4
    Full Member jollygoodpirate's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    227
    Ioxly,

    You could use a tool like AWK or Perl or Grep to extract and create a file for each category, then use webmerge to create pages for each of those categories, which then you could put in different directories as your website requires.

    If you have a Linux box all this tools are standard, otherwise the simplest would be to download GAWK from
    http://gnuwin32.sourceforge.net/packages/gawk.htm

    I'll be happy to help you if post a line or two of the datafeed.

  5. #5
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    I posted this question in Frank's thread and was told to make a new thread because he didn't expect the steps he outlined in the tutorial to work in this case, I have not run the files to try it yet.

    Deborah
    http://loxlygallery.com

  6. #6
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    Richard,

    You misunderstood what I am asking. I want to create a subdirectory instead of an .html page out of the manufacturer or category column. Right now, all 4000 pages go in the root directory, there are no subdirectories created when running the script.

    Is it possible to get WebMerge to create subdirectories and place the detail pages in the correct subdirectory automatically? Or do I need to split the file by category and run every category separately? That won't be fum for the AllPosters or Art.com feeds that have 14,000 categories!

    I am going to try Frank's idea of creating a field with /'s but he doesn't really think it will work.
    Deborah Carney
    TeamLoxly.com BookGoodies.com ABCsPlus.com

  7. #7
    Full Member
    Join Date
    January 18th, 2005
    Posts
    413
    =====================
    Is it possible to get WebMerge to create subdirectories and place the detail pages in the correct subdirectory automatically?
    =====================

    The answer appears to be YES.

    I have just added a page TO "FRANK's WebMerge Tutorial" called "Creating a FOUR-Tier Website using WebMerge with files nested into directories and subdirectories"

    Take a look, do a test run, and let me know if this works for you.

  8. #8
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    Cool, will go right now....
    Deborah Carney
    TeamLoxly.com BookGoodies.com ABCsPlus.com

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Directories
    By Tournament Games in forum Search Engine Optimization
    Replies: 2
    Last Post: June 7th, 2011, 04:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •