Jump to content
bfarber
 Share


IP.Board 3.1 Dev Update: Auto parsing of URLs strengthened

Our IP.Board 3.1 beta testing stage is well underway, and so far things are looking pretty good. We want to take a moment to thank everyone for their time and effort helping us to test IP.Board 3.1. Your contributions are appreciated and only help to ensure the quality of the software is nothing less than you would expect from us upon final release.

While IP.Board 3.1 is feature locked, we recently took some time to work on the URL parsing routines to deal with a couple of issues, and thought you might like to hear about these updates.

Auto parsing of media tags

IP.Board 3.0 introduced the new [ media ] tag, which is used to embed multimedia, like YouTube videos and more, into posts and other areas. This tag works just great, but we've heard from many of you that you think it would be better if media that works within the special tag was parsed and displayed automatically, even if the media tag was omitted.

As of IP.Board 3.1, this is now the case. If you copy and paste a link that would correctly parse inside the media tag into your post without media tags, IP.Board's bbcode parsing routine will recognize this and automatically embed your YouTube video or other media right in the post without any other user intervention!


Parsing of URLs with commas

We've had some passionate discussions spring up across the forums over the past couple of months discussing whether a comma character that would seemingly be part of a URL should be parsed as part of the URL. IP.Board 3.0 originally did so, however this was changed during an early 3.0 release due to a posted bug report. Regardless of the history, many of our customers felt that if a URL has a comma contained within it, that comma should be treated as part of the URL. If it contains a comma at the end of the URL, it should not.

You'll be happy to know that IP.Board 3.1 will now present commas as part of the URL appropriately. Here are some example scenarios (the URL bbcode tag was not used to post these) so you can see how it will work:

http://community.invisionpower.com/index.php?test=1
http://community.invisionpower.com/index.php?test=1,2
http://community.invisionpower.com/index.php?test=1,2&something=3
I like http://community.invisionpower.com/index.php?test=1, and that's all!

This is a relatively minor change, but one which we feel many of our customers will be happy to hear will be included in 3.1. Just a note: if you don't know, don't care, or don't know why commas in a URL should matter to you then you can ignore this small change :)


International Domain Names

ICANN (the body that regulates domain names) has recently begun approving (and examples are popping up in the wild) domain names that contain non-latin characters in them (known as IDNs). While this won't affect many of our customers, we decided to take this opportunity, before 3.1 is released, to ensure that IP.Board will correctly parse such URLs.

Some examples:

http://παράδειγμα.δοκιμή/
http://وزارة-الأتصالات.مصر

If you expect such domain names to be used on your board, you should expect that IP.Board 3.1 will be able to correctly parse such URLs. We always want to try to stay "ahead of the curve", and this is just one example where we'd rather implement expected functionality now, before our members are affected by any legacy limitations.


These changes have been applied to our board here as of the time of this posting, so feel free to try out the new changes in the test posting forum. As always, we look forward to your feedback, and if you happen to find any bugs, please report them to our bug tracker.

 Share

Comments

Recommended Comments



Awesome! :)

Auto parsing media URLs
Awesome because then the lazy bums (visitors) can continue to be lazy. :D

Parsing URL's with commas
Awesome because it should narrow down 'complaints' and 'bug reports' to the very rare cases of a URL ending in a comma. :D

Link to comment
Share on other sites



And what about times you don't want the link to autoparse? I've encountered many times where you cannot embed YouTube clips (uploader disables embedding by request for example) but you can link to them.
Does that mean it'll show the black box that says "Cannot view embed video" (or whatever it says) and take up post space?

As of IP.Board 3.1, this is now the case. If you copy and paste a link that would correctly parse inside the media tag into your post without media tags, IP.Board's bbcode parsing routine will recognize this and automatically embed your YouTube video or other media right in the post without any other user intervention!

Link to comment
Share on other sites

  • Management

[quote name='Tarun' date='12 May 2010 - 07:54 PM']
And what about times you don't want the link to autoparse? I've encountered many times where you cannot embed YouTube clips (uploader disables embedding by request for example) but you can link to them.
Does that mean it'll show the black box that says "Cannot view embed video" (or whatever it says) and take up post space?


In that case if you speciifcally put the YouTube link in the [ url ] tag then it won't do the magic media parsing.

Link to comment
Share on other sites

Not a fan of auto-parsing media. If I want to post embedded media then I'll add the tags myself because I'm not lazy.

All this is going to do is lead to posts (and entire threads) with embedded videos when a link to the video would have taken less space and been far more appropriate for the situation.

Link to comment
Share on other sites

hahaha wow... i feel sooo sorry for IPB... you can never please everyone.. how about if you have this option added to ACP so that pple can enable it and disable it.. of course if this is possible.. cause it's apparent from everyone's reaction.. not everyone likes this

Link to comment
Share on other sites

LOVE it and so will your members--please try and let your community decide before you "decide". Coming from vb, it was one of the things I would lose that was going to piss off my members. Now, not the case.

Link to comment
Share on other sites

  • Management

You can see it in your own admin area. Go to look and feel then media code manager but here's the list (and you can add more):

Flash Movie/Game
Flickr Image Set
GameTrailers
Google Video
MP3
MySpace Video
YouTube

Link to comment
Share on other sites

[quote name='dzbeebo' date='13 May 2010 - 01:38 AM']
hahaha wow... i feel sooo sorry for IPB... you can never please everyone.. how about if you have this option added to ACP so that pple can enable it and disable it.. of course if this is possible.. cause it's apparent from everyone's reaction.. not everyone likes this


There should definitely be an option to disable auto parsing of media so they'll parse as normal links like they used to.

Not all of us run forums where people want to see threads or posts full of embedded youtube videos that should have been posted as links. Also I don't think most users expect media to auto parse as media, they expect it to parse as normal links.

Link to comment
Share on other sites

Excellent news - thank you. I often go in and edit links to show clips inline - this will hopefully solve that issue. It is often not laziness, but more a case of not knowing the feature is there, the small screens in the image media.png do not mean a lot to people.

Thanks also on the comma in url's - not a major bug, but it was just annoying when it did happen.

Link to comment
Share on other sites

Wow - this is superb news! Auto parsing media tags is one of the most requested and used modifications of "other" forum software. And while I would agree that there should be an option to disable auto parsing of media links, I would argue that most users actually do expect media to auto embed. Most users don't want to mess with bbcode. Smart linking is the way of the future! :)

Link to comment
Share on other sites

Can it be turned off? I'm a board owner who wouldn't want auto-parsing by default. pinch.png

Without making it optional, you're effectively forcing the change on everyone. Optional would be much better - even if it was just a simple on/off switch. :D

Don't get me wrong - I feel it's a great feature and I'm sure you'll make a lot of people happy, it would just be better to have a choice IMHO.

Thanks,
Shaun

Link to comment
Share on other sites




Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...