Offer to help with broken links

2014-07-20 Thread Larry Fletcher

Website Maintainers,

I have been a Debian user for 16 years and have used an automated link 
checker on a handful of websites for 12 years.  What I would like to do 
is help with repairing and removing broken links.


The following report is easy to use (with email clients and newsreaders 
that support the HTML format) and it only contains broken links, so 
there are no lists to search through and the same false positives are 
not seen every time the link checker runs.


The pages will be checked once a month and reports are only sent if 
there are broken links, which means you can completely forget about 
broken links until a new one is found.


False positives will be removed from the reports before they are sent 
and the link checker will be configured to suppress them in the future.  
If a false positive is missed, I will probably see it when the current 
and previous reports are compared, or you can send me the link.  New 
broken links will be held for a month before they are reported, which 
helps to avoid dealing with a link that is temporarily down.


So if anyone is interested, all I need are the URLs of the pages you 
want to check.


Thanks for all of the great work over the years!

   Larry


*_SAMPLE REPORT_**:*


   /Sevabot/ report for: www.debian.org

*BROKEN LINKS*, 303 See Other <#rc303>, 403 Forbidden <#rc403>, 404 Not 
Found <#rc404>, 500 Internal Server Error <#rc500>.





   303 See Other

http://www.debian.org/CD/vendors/
Vendors of Debian CDs

 * http://medialekt.de/it-hard-a-software/software/debian
   See other


   403 Forbidden

http://www.debian.org/CD/vendors/
Vendors of Debian CDs

 * 
http://www.zyxware.com/requestcd/%252Fresults/field_distribution_name%3A%22Debian%22


   404 Not Found

http://www.debian.org/CD/vendors/
Vendors of Debian CDs

 * http://distros.ru/debian
   Not found
 * http://linuxiso.kz/category_9.html
 * http://www.debian.org/CD/vendors/sa...@avadirect.com
 * http://www.debian.org/CD/vendors/sa...@linuxos.co.za
 * http://www.ixsoft.de/software/products/debian-catalog-de.html
 * http://www.lincore.ru/debian/
 * 
http://www.market.altkomp.pl/linux-dystrybucje-na-cd-i-dvd-system-operacyjny-linux-debian-c-78_83.html
 * http://www.prizix.com/contact-us.html
 * http://www.simaoebuhler.com.br/loja/
 * http://www.yetopen.it/debian.html
   Articolo non trovato
 * 
http://www.zenika.gr/debian-media-and-trainings-store-of-zenika-hellas.html?page=shop.browse&category_id=29
   Component not found


   500 Internal Server Error

http://www.debian.org/CD/vendors/
Vendors of Debian CDs

 * http://discolibre.com.ve/index.php/s5-menu/debian
   Can't connect to discolibre.com.ve:80 (Bad hostname)
 * http://linuz.conlacicutaenelbolsillo.net/
   Can't connect to linuz.conlacicutaenelbolsillo.net:80 (Bad hostname)
 * http://www.preis1.de/debian-linux/
   Can't connect to www.preis1.de:80 (timeout)
 * 
https://linux-distro.co.uk/index.php?main_page=advanced_search_result&search_in_description=1f&keyword=debian
   Can't connect to linux-distro.co.uk:443



Page created by SEVABOT on /Sat Jul 19 22:34:49 2014/.



Re: Making Debian users more visible

2014-07-20 Thread Stéphane Blondon
2014-07-20 4:30 GMT+02:00 David Prévot :
> tail -n11 /srv/www.debian.org/cron/urlcheck/logs/web.20140719.users
> Looking into http://www.debian.org/users/edu/ciid-politicas-unam
> Traceback (most recent call last):
>   File "./urlcheck.py", line 259, in 
> do_page(url)
>   File "./urlcheck.py", line 43, in do_page
> check_url(url)
>   File "./urlcheck.py", line 88, in check_url
> msg = check_http(url, parts)
>   File "./urlcheck.py", line 158, in check_http
> msg = " : IOError: " + arg.args[0]
> TypeError: cannot concatenate 'str' and 'int' objects
>
> I’m lost in Python, so not much I can actually do here, but if someone
> is interested into fixing that

You can do a quick fix by modifying the line 158 of file urlcheck.py":
- msg = " : IOError: " + arg.args[0]
+ msg = " : IOError: " + str(arg.args[0])

However, this error occurs probably because another error was occured
before. So after applying the patch, the first error could appear in a
normal way.
As I don't have the code, I don't know which behaviour is planned.


> (or provide an alternative as discussed
> almost two years ago [1]), please, go for it.
>  1: 

There are currenlty alternatives packaged in Debian.
If I remember well, someone (Holger perhaps?) planned to modify an
upstream code to fit better with the needs of the team. I don't know
if it's used today.

If not, linkchecker could be used with a cron easily.

-- 
Imprimez ce message en A2 et en couleur au moins 500 fois!
Brûlez des arbres!!

-- envoyé depuis ma centrale à charbon
Stéphane


--
To UNSUBSCRIBE, email to debian-www-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caoy+up4an7r1-nym3mvzxe5zgjinzzdx1tdvrf1yx__res9...@mail.gmail.com



Re: Making Debian users more visible

2014-07-20 Thread Paul Wise
On Mon, Jul 21, 2014 at 1:12 AM, Stéphane Blondon wrote:

> There are currenlty alternatives packaged in Debian.
> If I remember well, someone (Holger perhaps?) planned to modify an
> upstream code to fit better with the needs of the team. I don't know
> if it's used today.

I guess you mean webcheck?

https://jenkins.debian.net/view/webcheck/job/webcheck_www_debian_org/

> If not, linkchecker could be used with a cron easily.

linkchecker seems good to me. Either way urlcheck should be removed
and replaced with either webcheck or linkchecker.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-www-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caktje6hwejdcx5jav6f1wre6kcwcaa6vuengyqhbpdxxzob...@mail.gmail.com



Re: Wrong behavior of language-change bar on stats webpages for Debian website

2014-07-20 Thread David Prévot
Hi,

Le 17/07/2014 05:12, Lev Lamberov a écrit :

> on English stats webpages for Debian website other available languages are
> not shown. Also on corresponding translated webpages available translations
> are shown incorrectly.

Right. Some time ago (Wednesday March 09 2011), on #debian-www:

14:16 < taffit> Arg, forgot to handle the language footer in translated
stats :/

Since those pages are mostly of translators use, they should see it on
their own language anyway, and those people may know they simply can add
a few letters to an URL (e.g. “.it“ for Italian) to see a content in
another language.

> So, it makes translation of stats.pot and
> puting a Makefile into devel/website/stats simply useless.

“useless” seems pretty strong, are you missing
 maybe?

> I'm not sure what the problem is, so I cannot fix it, sorry.

The WML files in english/devel/website/stats/ are generated by
webwml/stattrans.pl. Since there is no corresponding WML files in
$otherlanguage/devel/website/stats/, the usual code in
english/template/debian/languages.wml doesn’t work fit. It would be nice
if someone would be willing to fix that, I guess, but it’s not very high
on my own TODO list (as stated by the quantity of time since I noticed it).

Regards

David





signature.asc
Description: OpenPGP digital signature