Changeset 48265


Ignore:
Timestamp:
Mar 17, 2009, 11:32:31 PM (8 years ago)
Author:
perry@…
Message:

port1.0/portlivecheck.tcl - Fixed livecheck for freshmeat. (Addresses #18887)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portlivecheck.tcl

    r41404 r48265  
    124124        "freshmeat" {
    125125            if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
    126                 set livecheck.url "http://freshmeat.net/projects-xml/${livecheck.name}/${livecheck.name}.xml"
    127             }
    128             if {${livecheck.regex} eq ""} {
    129                 set livecheck.regex [list "<latest_release_version>(.*)</latest_release_version>"]
     126                set livecheck.url "http://freshmeat.net/projects/${livecheck.name}/releases.atom"
     127            }
     128            if {${livecheck.regex} eq ""} {
     129                set livecheck.regex [list "<title>${livecheck.name} (.*)</title>"]
    130130            }
    131131            set livecheck.check "regex"
Note: See TracChangeset for help on using the changeset viewer.