Skip to content

Commit

Permalink
Updated TeamCoco
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Dec 3, 2013
1 parent 4aae7ed commit 79989fd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -154,7 +154,7 @@ Media BB Codes for XenForo, imported from [s9e\TextFormatter](https://github.com
<tr>
<td><code>teamcoco</code></td>
<td>Team Coco</td>
<td>http://teamcoco.com/video/conan-highlight-gigolos-mug-hunt</td>
<td>http://teamcoco.com/video/serious-jibber-jabber-a-scott-berg-full-episode<br/>http://teamcoco.com/video/73784/historian-a-scott-berg-serious-jibber-jabber-with-conan-obrien</td>
</tr>
<tr>
<td><code>ted</code></td>
Expand Down
5 changes: 3 additions & 2 deletions build/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<addon addon_id="s9e" title="s9e Media Pack" url="https://github.com/s9e/XenForoMediaBBCodes" version_id="20131127b" version_string="201311271" install_callback_class="s9e_MediaBBCodes" install_callback_method="install">
<addon addon_id="s9e" title="s9e Media Pack" url="https://github.com/s9e/XenForoMediaBBCodes" version_id="20131203" version_string="201312030" install_callback_class="s9e_MediaBBCodes" install_callback_method="install">
<bb_code_media_sites>
<site media_site_id="bandcamp" site_title="Bandcamp" site_url="http://bandcamp.com/" match_is_regex="1" supported="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchBandcamp">
<match_urls>!(?'id')bandcamp\.com/album/.!
Expand Down Expand Up @@ -122,7 +122,8 @@
<embed_html><![CDATA[<iframe width="600" height="310" src="http://strawpoll.me/embed_1/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="teamcoco" site_title="Team Coco" site_url="http://teamcoco.com/" match_is_regex="1" supported="1" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchTeamcoco">
<match_urls>!(?'id')teamcoco\.com/video/.!</match_urls>
<match_urls>!teamcoco\.com/video/(?'id'\d+)!
!(?'id')teamcoco\.com/video/.!</match_urls>
<embed_html><![CDATA[<iframe width="640" height="415" src="http://teamcoco.com/embed/v/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="ted" site_title="TED Talks" site_url="http://www.ted.com/" match_is_regex="1" supported="1">
Expand Down
2 changes: 1 addition & 1 deletion build/upload/library/s9e/MediaBBCodes.php
Expand Up @@ -432,7 +432,7 @@ public static function matchSpotify($url)

public static function matchTeamcoco($url)
{
$regexps = array();
$regexps = array('!teamcoco\\.com/video/(?\'id\'\\d+)!');
$scrapes = array(
array(
'match' => array('!teamcoco\\.com/video/.!'),
Expand Down
4 changes: 2 additions & 2 deletions tests/Test.php
Expand Up @@ -172,8 +172,8 @@ public function getMatchCallbackTests()
),
array(
'teamcoco',
'http://teamcoco.com/video/conan-highlight-gigolos-mug-hunt',
'54003'
'http://teamcoco.com/video/serious-jibber-jabber-a-scott-berg-full-episode',
'73784'
),
array(
'traileraddict',
Expand Down
2 changes: 1 addition & 1 deletion vendor/s9e/TextFormatter
Submodule TextFormatter updated 766 files
4 changes: 2 additions & 2 deletions www/configure.html

Large diffs are not rendered by default.

0 comments on commit 79989fd

Please sign in to comment.