Menu

#2 Absolute URLs for Files and Directories

Next minor release
open
7
2001-05-16
2001-05-10
No

I'd prefer, when you could use more then one base - url in a webpage -- i.e optional one per
section(?). This would be useful if you have subdomains. For example: the webpage is at
www.foo.com, but a part of it is at bar.foo.com, and you want to use only one navigation
bar, where you can navigate in both. I'd leave the [baseURL] in <webpage>, but also put it
into <section> (optional), which would then override the baseURL from webpage.

Discussion

  • Peter Becker

    Peter Becker - 2001-05-15

    Logged In: YES
    user_id=41603

    It would be nice if the <section>/<directory> elements allow
    using absolute URLs in their [dir] attribute. I think this
    would be more consistent. I'll add a RFE for this, this
    should be considered for the first version since it is
    really important.

     
  • Peter Becker

    Peter Becker - 2001-05-16
    • labels: --> File Handling
    • milestone: --> Next minor release
    • priority: 5 --> 7
    • assigned_to: nobody --> peterbecker
     
  • Peter Becker

    Peter Becker - 2001-05-16
    • summary: Multiple base URLs? --> Absolute URLs for Files and Directories
     
  • Peter Becker

    Peter Becker - 2001-09-28

    Logged In: YES
    user_id=41603

    I just noticed that I misunderstood you when I posted my
    last comment. Implementing the feature you want was really
    easy but after I did this I am not sure anymore that it is
    really useful.

    When do you want to use this? Do you want to upload
    subdirectories from the output somewhere else? This would
    include all images for this section, including the button
    images which are used in different places. Is it about
    getting nice and easy to remember URLs for the subsections?

    Don't get me wrong, but I don't want to add features just
    because I can (this one is +6 lines including the comment
    and the empty line). Give me an example where/how you want
    to use this.

    If you want to test yourself add this to
    WebsiteProcessor.java before the directory creation around
    line 480 (depends on revision):

    String baseURL = section.getAttributeValue( "baseURL" );
    if( baseURL != null ) {
    newURL = baseURL;
    }

     

Log in to post a comment.