Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CB949070 for ; Mon, 4 Mar 2013 23:40:35 +0000 (UTC) Received: (qmail 82654 invoked by uid 500); 4 Mar 2013 23:40:35 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 82636 invoked by uid 500); 4 Mar 2013 23:40:35 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 82628 invoked by uid 99); 4 Mar 2013 23:40:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 23:40:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mikeywbrooks@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-we0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 23:40:30 +0000 Received: by mail-we0-f173.google.com with SMTP id r5so5137834wey.18 for ; Mon, 04 Mar 2013 15:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=wje57RTo86nGCNMkRNI+8c+2SMEy4bcxJBq8ordWj7U=; b=EoXmSccr95+LbKwZLrNCrRIvFsIHiLetp2Wz0UW3kl270SjvJfh21O21exiGhFaVVh nQwPna1DW7BigPVA+5j3GjZHznXA7+FeShM6mWePt6tR+m/hVWl1k4RqxneahqikX0fT f4TShFVNCAYU37xM5d/TqqRtovy+PpuDpIGnRXAQQgUxSQyv7KgXeKmvOJ+tdJ0gDIcr aXKGPXXmpKBjJz+ArZurkMtLo1BVURyGEJsGdLht8JeQfTMEoaw8ksU1GxpeOgVZj1zZ 7RoqZMnQY0AEtgkehHPFtuegB0MhykR/cALQxmS9W4wSEswfQ5gXdnGPR4lpV0FDZITZ 2gEg== MIME-Version: 1.0 X-Received: by 10.180.80.73 with SMTP id p9mr11756865wix.22.1362440409312; Mon, 04 Mar 2013 15:40:09 -0800 (PST) Sender: mikeywbrooks@gmail.com Received: by 10.216.153.100 with HTTP; Mon, 4 Mar 2013 15:40:09 -0800 (PST) In-Reply-To: References: Date: Mon, 4 Mar 2013 15:40:09 -0800 X-Google-Sender-Auth: lRfUGnGHu1wWHo_4LJyVJwhwHbo Message-ID: Subject: Re: Cordova Documentation version based urls make for poor web search targets From: Michael Brooks To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=f46d044283489ffa1204d721e0c7 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044283489ffa1204d721e0c7 Content-Type: text/plain; charset=ISO-8859-1 > > When I google for cordova documentation, I'm usually taken to an old version > (say, 2.1.0). This has also been a problem with the PhoneGap documentation. Eventually, the doc generator will be rewritten and we should definitely keep this issue in mind. It would be nice to have a short-term solution though. I like the idea of adding some JavaScript inspection and rendering a small flash message at the top. I'll create a JIRA issue for this. Also, I took a look at how some other projects do it (like python) and they > just use a single url for "latest" and only create custom version-based > urls for previous releases. (And since they link to latest more often than > to specific releases, I guess it naturally ranks higher) Yup, I think the "latest" directory or storing the latest release in the root directory should be a long-term solution for the rewritten generator. The documentation URL in the MIDDLE of cordova.apache.org still points to > the 2.4.0 docs. The one on the bottom correctly points to 2.5.0. Couldn't > all links just point to the LATEST version of the docs and have the server > just handle the redirection via symlink? I noticed this as well and updated the generator. That documentation link is now generated from the latest release version, so there is no need to manually update it. On Fri, Mar 1, 2013 at 10:26 AM, Marc Fielding wrote: > To follow on to this point: > > The documentation URL in the MIDDLE of cordova.apache.org still points to > the 2.4.0 docs. The one on the bottom correctly points to 2.5.0. Couldn't > all links just point to the LATEST version of the docs and have the server > just handle the redirection via symlink? > > Thanks, > > Marc --f46d044283489ffa1204d721e0c7--