- if (m[3]) {
- var r = parseInt(m[3]);
- currentPager.showPageAt(r);
- } else {
- currentPager.showPageAt(currentPager.itemCount - 1);
- }
- } else if (m = location.hash.match(/^#\/feed(?:\/p(\d+))?$/)) {
- if (loginStatus.loggedIn) {
- if (!currentPager || !(currentPager instanceof Feed) || currentPager.username != loginStatus.username)
- currentPager = new Feed();
- currentPager.show();
- if (m[3]) {
- var r = parseInt(m[3]);
- currentPager.showPageAt(r);
- } else {
- currentPager.showPageAt(currentPager.itemCount - 1);
- }
- } else {
- location.href = baseURL;
- }
- } else if (m = location.hash.match(/^#([A-Za-z0-9_-]+)(?:\/(p)?(\d+))?$/)) {
- if (!currentPager || !(currentPager instanceof User) || currentPager.username != m[1])
- currentPager = new User(m[1]);
- currentPager.show();
- loginStatus.update();
+function ExternalURLPost(m) {
+ this.title = decodeURIComponent(m[1]).replace(']','').replace('[','');
+ this.url = decodeURIComponent(m[2]);
+}