You are here: PSPad forum > English discussion forum > How to Advanced link generation.

How to Advanced link generation.

Goto Page: Previous1 2 3 Next

#11 Re: How to Advanced link generation.

Posted by: maki | Date: 2020-01-10 21:13 | IP: IP Logged

Of course, all links will not work, because the server contains random numbering (last value).
But I want to make a mirror, back up in case someone removes it and the source is gone.
The program will quickly check, and download the correct links and will fast skip the wrong ones.
The HTML-files are very small (KB), so downloading each link is only one second.

Options: Reply | Quote | Up ^


#12 Re: How to Advanced link generation.

Posted by: maki | Date: 2020-01-10 21:33 | IP: IP Logged

I don't know how to generate it in PSPad. Previouse configuration is no longer present. Old configuration are gone, and now I don't know how to set it up.

Options: Reply | Quote | Up ^


#13 Re: How to Advanced link generation.

Posted by: pspad | Date: 2020-01-10 21:36 | IP: IP Logged

maki:
Of course, all links will not work, because the server contains random numbering (last value).
But I want to make a mirror, back up in case someone removes it and the source is gone.
The program will quickly check, and download the correct links and will fast skip the wrong ones.
The HTML-files are very small (KB), so downloading each link is only one second.

If each link will take 1s, your 20 years links you willbdownload 844 days tongue sticking out smiley

From this point of view it's nonsense

Options: Reply | Quote | Up ^


#14 Re: How to Advanced link generation.

Posted by: maki | Date: 2020-01-10 22:18 | IP: IP Logged

I'm too intelligent to write stupid things.
Wait, wait, wait, and you know what it means simultaneous downloads?
It One.

And two. Crawl website. Skipping 404 (wrong page) takes a few milliseconds (!)

Three.
I have fast internet, so downloading these tiny files will be counted in milliseconds.

Now who is stupid here?

Options: Reply | Quote | Up ^


#15 Re: How to Advanced link generation.

Posted by: pspad | Date: 2020-01-10 22:49 | IP: IP Logged

Ok. We can count 100ms per address and 10 simultaneous downloads.
This will decrease time from 844 days to 8,5 day.

Options: Reply | Quote | Up ^


#16 Re: How to Advanced link generation.

Posted by: maki | Date: 2020-01-10 22:59 | IP: IP Logged

So where is this Script option?
I can't find my old topics in this forum how to enable it.

Options: Reply | Quote | Up ^


#17 Re: How to Advanced link generation.

Posted by: pspad | Date: 2020-01-10 23:24 | IP: IP Logged

32b version ofvPSPad, program settings / system integration

Options: Reply | Quote | Up ^


#18 Re: How to Advanced link generation.

Posted by: maki | Date: 2020-01-11 09:31 | IP: IP Logged

It generated only 2019 and no final numbers. Wrong all urls.

https://example.com/2019/12/26/
example.com
example.com
example.com
example.com
example.com
// JavaScript Document

Edited 2 time(s). Last edit at 2020-01-11 09:33 by maki.

Options: Reply | Quote | Up ^


#19 Re: How to Advanced link generation.

Posted by: pspad | Date: 2020-01-11 09:33 | IP: IP Logged

Read the script and follow comments. I guess you can read.

Options: Reply | Quote | Up ^


#20 Re: How to Advanced link generation.

Posted by: pspad | Date: 2020-01-11 13:20 | IP: IP Logged

I made small exercise and write link generator for you.
2 years takes about 30s, so be patient for 20 years of links.

mysharegadget.com

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 Next





Editor PSPad - freeware editor, © 2001 - 2020 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR