+1 for configuration options.MichaelC wrote:+1
When they don't have access just show the link as we do now.
We should have an option to disable this in the ACP though as it would add to the number of queries on the page (and this could be done malicously with say 1,000,000 links on one page would generate 1,000,000 extra queries to be run). We can't get all the topics from the site and just use some as some sites have a lot of topics.
Better Magic URLs
Re: Better Magic URLs
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC] Better Magic URLs
You're attacking a straw man. I never said that you could please everybody; I was just pointing out the downside to your proposed truncation method. There may not be a better option, but that doesn't mean that it's ideal, either.Master_Cylinder wrote:Since when does a solution have to be what everyone would want? You can't please everyone.Pony99CA wrote:Not necessarily. The part that gets truncated might be part you really want. In my Mercury News example, the end is the better piece, not the start.
The topic subject that you chose is "Better Magic URLs". I brought up a method that I've seen on other boards that some people consider "better" way to handle naked URLs. If you wanted a more limited scope of discussion, you should have been more precise with your subject chocie. Don't blame others for your apparently poor choice of words.Master_Cylinder wrote:No, imho, thumbnails have *nothing* to with the swapping of the url to the title and THAT is what this RFC is about. If you want thumbnails, you could start a new RFC for that and see how much support there is.They don't have anything to do with what you intended. They are clearly relevant to the topic, though, and the community can decide whether they're useful.
Anyway, the idea is being discussed here, so unless a Moderator decides to split the topic in two, they apparently don't consider it off-topic.
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: Better Magic URLs
If we decide to support modifying external URLs (either with text or thumbnails), that should also be a separate option.*Daniel wrote:+1 for configuration options.MichaelC wrote:+1
When they don't have access just show the link as we do now.
We should have an option to disable this in the ACP though as it would add to the number of queries on the page (and this could be done malicously with say 1,000,000 links on one page would generate 1,000,000 extra queries to be run). We can't get all the topics from the site and just use some as some sites have a lot of topics.
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- Master_Cylinder
- Registered User
- Posts: 361
- Joined: Wed Jul 31, 2013 9:54 pm
Re: [RFC] Better Magic URLs
The "Subject" is Better Magic URLs but the RFC is *only* about changing the URL to the title. Feel free to make one for the thumbnails and text if you want it.Pony99CA wrote: The topic subject that you chose is "Better Magic URLs".
These kids today...
Buy them books, send them to school and what do they do?
They eat the paste.
Buy them books, send them to school and what do they do?
They eat the paste.
- Master_Cylinder
- Registered User
- Posts: 361
- Joined: Wed Jul 31, 2013 9:54 pm
Re: Better Magic URLs
Somebody just requested a 3.0.x MOD to do this for links to pictures which could be done but with the potential legal issues and with many sites not liking hot-linking; if this is added to magic urls then images, imho, should be disabled by default.
These kids today...
Buy them books, send them to school and what do they do?
They eat the paste.
Buy them books, send them to school and what do they do?
They eat the paste.
- AmigoJack
- Registered User
- Posts: 110
- Joined: Wed May 04, 2011 7:47 pm
- Location: グリーン ヒル ゾーン
- Contact:
Re: Better Magic URLs
I was always against applying titles when making URIs clickable for the most obvious reason: it gives away information one may not have had access to otherwise.
- Applying titles once per post submit:
- Advantages:
- Low performance hit - URIs have to be fetched only once and could directly be converted to appropriate BBCode, hence they can be saved as such in the text.
- Searching posts would also find keywords from such titles.
- Disadvantages:
- Site title changes are not reflected to the link titles.
- No information control (topic title from hidden forum)
- Advantages:
- Applying titles per displaying the post:
- Advantages:
- Viewer's permissions can be used to not show titles to otherwise hidden board parts.
- Link titles would stay up to date.
- Disadvantages:
- Huge performance hit when posts (or their topics) are being viewed often. To counteract this one should implement a lookup cache so link titles aren't retrieved again within seconds for the same URIs (one URI in the cache could timeout after 24h to then re-lookup its title).
- Search can't find keywords for any of those dynamically displayed link titles.
- Advantages:
- Master_Cylinder
- Registered User
- Posts: 361
- Joined: Wed Jul 31, 2013 9:54 pm
Re: Better Magic URLs
Since site titles don't change that often I think #1 is best too...
These kids today...
Buy them books, send them to school and what do they do?
They eat the paste.
Buy them books, send them to school and what do they do?
They eat the paste.