Get file size of file URLs automatically does not work anymore

More
6 years 7 months ago #69497 by ggppdk
Hello

but i have not added check for not found (404) URLs

Should not be difficult will do this too soon


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #69498 by lipatovroman

ggppdk wrote: Hello

but i have not added check for not found (404) URLs

Should not be difficult will do this too soon


Yes, you are right. No found URLs does not detected.
And not present in logs file.

But the main thing - to not broke links to pages (not to files).

Explain.
Now if we have direct URL to file - FC downloads file (Good).
If we have url to page, for example play.google.com/store/apps/details?id=co...afting.building.lite
FC opens this page. And it's good too.
Only one issue - FC opens such pages in same window (not used target ="_blank")
It's not problem, but it's not perfect.
;)

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #69499 by ggppdk
Hello

FC opens such pages in same window (not used target ="_blank")
It's not problem, but it's not perfect.


Solution 1
- we could open all file URLs in new window (new configuration option)
when the file is a real filename then all modern browsers should autoclose the new window

Solution 2 (decide per URL)
- if URL has ZERO file size in DB then make it open in new window


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 7 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #69500 by lipatovroman
If in

all modern browsers should autoclose the new window


so, Solution 1 will be more attractive.

But, may be it should be a setting for a field?
Not sure... But FC have millions settings, so one more setting will make it more flexi :)
It's joke, Solution 1 or 2 will be enough for this fixing issue.
Last edit: 6 years 7 months ago by lipatovroman.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #69503 by ggppdk
Hello

i have added both

-- check for bad URLs

that means HTTP status codes
< 200 or >= 400, e.g. 404 not found, e.g. 403 no access

-- and open URLs with zero file size in new window

I have tested it in your web-site too


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #69509 by lipatovroman
Hello!
Works perfect and very useful option to find broken files and links.
Thank you.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.300 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline