On 27 October 2013 16:47, Rob Weir <[email protected]> wrote:
> On Sat, Oct 26, 2013 at 9:58 PM, Ariel Constenla-Haile
> <[email protected]> wrote:
> > On Sat, Oct 26, 2013 at 09:30:06PM -0400, Rob Weir wrote:
> >> On Sat, Oct 26, 2013 at 5:05 PM, Ariel Constenla-Haile
> >> <[email protected]> wrote:
> >> > On Sat, Oct 26, 2013 at 10:54:59PM +0200, janI wrote:
> >> >> Hi.
> >> >>
> >> >> www.openoffice.org now accept both http: and https: as announced
> >> >> earlier.
> >> >>
> >> >> We have however seen that e.g. product.css contain image tag with
> >> >> http://xxx. All references must be relative (without http: and
> >> >> https:). I hope the web admins can do make the needed changes.
> >> >
> >> > There are 26,349 matches of "http://www.openoffice.org/" in
> >> > ooo-site.
> >> >
> >>
> >> We *are not* going to change to a system that requires that links to
> >> www.openoffice.org are all https. I hope that is not what is being
> >> suggested. Remember, we have 10's of thousands of *external* links to
> >> our website that we do control and cannot change.
> >>
> >> Please someone, tell me that this is not what is being suggested here.
> >
> >
> > were you have href="http://www.openoffice.org/some_resource", it should
> > be href="/some_resource" (nothing crazy, but a good practice).
> >
>
> Also, in images, src="http://www.openoffice.org/some_resource"
>
> yes
> Or in CSS:
>
> url("http://www.openoffice.org/some.css");
>
yes
>
> But there are some that probably should not be changed. For example:
>
> <meta itemprop="image"
> content="http://www.openoffice.org/images/aoo-logo-100x100.png" />
>
correct, which is why you need to search {href|src|url(}\=\"
http://www.openoffice.org
>
> That is intended to resolve externally, on Google+, so I think itt
> should be the full URL.
>
yes it should not be changed.
>
> There are also the legacy subdomains to think about. We have URL's
> on the website like:
>
> href="http://qa.openoffice.org/issue_handling/project_issues.html"
>
> That should become:
>
> href="/qa/issue_handling/project_issues.html"
>
yes.
Please remember we have *.openoffice.org so it is valid for
qa.openoffice.org
In this case you search could be {href|src|url(}\=\"http://qa.openoffice.org
>
> But not all subdomains act that way. For example
> http://extensions.openoffice.org should *not* be rewritten.
>
No that is located on sourceforge out of our control.
> > Grepping href=["']http://www.openoffice.org/ gives 25,026 matches.
> >
>
> Maybe it makes sense to do the easy one first, the www subdomain
> ones.. Most of them are simple href/source/url patterns.
>
a combination of regex, sed and find makes the change in a couple of
minutes, what remains then is commit/publish and test.
rgds
jan I.
>
> Regards,
>
> -Rob
>
>
> >
> > Regards
> > --
> > Ariel Constenla-Haile
> > La Plata, Argentina
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>