Edgewall Software
Last modified 7 years ago Last modified on May 26, 2005 12:52:25 AM

Example Output Dumping hdf from a Trac Macro

HTTP {
  Host = localhost
  PathInfo = /wiki/SandBox
  Protocol = http
}
trac {
  session {
    var {
      mod_time = 1116942970
      email = foo@bar.com
      last_visit = 1116821868
      name = fdl
      last_visit_txt = 5/22/2005 10:17:48 PM
      mod_time_txt = 5/24/2005 7:56:10 AM
    }
    id = Session Key
  } 
  acl {
    TIMELINE_VIEW = true
    BROWSER_VIEW = true
    WIKI_VIEW = true
    WIKI_MODIFY = true
    SEARCH_VIEW = true
    WIKI_CREATE = true
    TICKET_CREATE = true
    MILESTONE_VIEW = true
    TICKET_MODIFY = true
    FILE_VIEW = true
    ROADMAP_VIEW = true
    REPORT_VIEW = true
    REPORT_SQL_VIEW = true
    CHANGESET_VIEW = true
    LOG_VIEW = true
    TICKET_VIEW = true
  }
  href {
    wiki = /trac/wiki
    browser = /trac/browser/
    timeline = /trac/timeline
    roadmap = /trac/roadmap
    report = /trac/report
    query = /trac/query
    newticket = /trac/newticket
    search = /trac/search
    about = /trac/about_trac
    about_config = /trac/about_trac/config
    login = /trac/login
    logout = /trac/logout
    settings = /trac/settings
    homepage = http://trac.edgewall.com/
  } 
  version = 0.8.1
  time = 5/24/2005 7:56:10 AM
  time {
    gmt = Tue, 24 May 2005 13:56:10 GMT
  } 
  authname = anonymous
  active_module = wiki
}
args {
  mode = wiki 
  page = SandBox
}
enums {
  priority {
    0 {
      name = highest
    }
    1 {
      name = high
    }
    2 {
      name = normal
    }
    3 {
      name = low
    }
    4 {
      name = lowest
    }
  }
  severity {
    0 {
      name = blocker
    }
    1 {
      name = critical
    }
    2 {
      name = major
    }
    3 {
      name = normal
    }
    4 {
      name = minor }
    5 {
      name = trivial
    }
    6 {
      name = enhancement
    }
  }
}
htdocs_location = /xtrac-static/
project {
  name = tracPlay
  name {
    encoded = tracPlay
  } 
  descr = My example project
  footer = Visit the Trac open source project at http://trac.edgewall.com/
  url = http://effectiveqa.com/
} 
header_logo {
  link = http://trac.edgewall.com/
  alt = Trac
  src = /xtrac-static/trac_banner.png
  src_abs = False
  width = 236
  height = 73
}
cgi_location = /trac
hdf {
  loadpaths {
    0 = C:/fdl/tracproj\templates
    1 = C:\PYTHON23\share\trac\templates
  }
  }
wiki {
  name = SandBox
  author = fdl
  comment =
  namedoublequoted = SandBox
  edit_rows = 20
  action = view
  attachments {
    0 {
      name = sample.txt
      descr = Just a simple file to play around with attachments
      author = fdl
      ipnr = 127.0.0.1
      size = 77 bytes
      time = 5/24/2005 7:32:30 AM
      href = /trac/attachment/wiki/SandBox/sample.txt
    }
  }
  readonly = 0
  edit_version = 21
  current_href = /trac/wiki/SandBox
  history_href = /trac/wiki/SandBox?history=yes
  page_name = SandBox
  page_source << EOM ...text of page deleted for brevity ... EOM
}