Rails How to Generate a Google Drive-like permalink? -


When we share a Google Drive form, this will give our public URL.

How can we apply it in our Rail application? It should be random and not repeated.

Can anyone help me? Thank you.

Update

I mean this is url:

But I want a url You should add a Permalink

/ model /: id , but if you want to use the / model / permalink , simply add new fields, Save something like secureorendum and save it to the model, then create the URL and share it.

You can do something like:

  class SomeModel & lt; ActiveRecord :: Base after_create: gener_permalink Personal DRAF Generated_Permalink self.permalink = SecureRandom.urlsafe_base64 (32) End of End  

Then in some views where your user can find permalink url:

Title> "Model Title", some_model_url (some_model.permalink)%>

The above helpers will create your URL which goes to your some_model controller's show action. You can, of course, take a new action if you wish and add it to your own routes, but I'm just going through a simple way.

In the show action of your controller you will need to find the model by its permalink:

class SomeModelController & lt; ApplicationController def show @some_model = SomeModel.where ("id =: id or permalink =: id", id: params [: id]). First end end

See more in your routes with a little more tweaking, you can shorten the URL for what you have posted in your question:

 routes  file to  http://yourhost.com/1PPVIMrDo61Er9tqYlJRntfNT73jpxtd_YJGGjXOMlAw  

, When no other way is matched, your parametic path will catch the random string and it will be near the controller. Your choice will be:

  # config / routes.rb get "/: permalink", for: "some_model # show", like :: permalink  
< P> Param [: id] instead of parameter [: permalink] will be called in its controller here: get "/: id" You can simplify the code in your controller, but I think it's good to be clear.

Then, correct URL to change just your view:

   </code> </pre> <p> Hope that helps. </p> </div> </html> <br /> 
<script type="text/javascript" src="//ylx-1.com/bnr.php?section=General&pub=435796&format=728x90&ga=g"></script>
<noscript><a href="https://yllix.com/publishers/435796" target="_blank"><img src="//ylx-aff.advertica-cdn.com/pub/728x90.png" style="border:none;margin:0;padding:0;vertical-align:baseline;" /></a></noscript>
  </div>
<div class='post-footer container'>
<div class='post-footer-line post-footer-line-1'>
</div>
<div class='post-footer-line post-footer-line-2'>
</div>
<div class='post-footer-line post-footer-line-3'>
</div>
<div class='post-share-buttons post-share-buttons-bottom'>
<div class='byline post-share-buttons goog-inline-block'>
<div aria-owns='sharing-popup-Blog1-byline-1182133080212216744' class='sharing' data-title='Rails How to Generate a Google Drive-like permalink? -'>
<button aria-controls='sharing-popup-Blog1-byline-1182133080212216744' aria-label='Share' class='sharing-button touch-icon-button' id='sharing-button-Blog1-byline-1182133080212216744' role='button'>
<div class='flat-icon-button ripple'>
<svg class='svg-icon-24'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_share_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
</div>
</button>
<div class='share-buttons-container'>
<ul aria-hidden='true' aria-label='Share' class='share-buttons hidden' id='sharing-popup-Blog1-byline-1182133080212216744' role='menu'>
<li>
<span aria-label='Get link' class='sharing-platform-button sharing-element-link' data-href='https://www.blogger.com/share-post.g?blogID=7468631059340963362&postID=1182133080212216744&target=' data-url='https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html' role='menuitem' tabindex='-1' title='Get link'>
<svg class='svg-icon-24 touch-icon sharing-link'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_link_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Get link</span>
</span>
</li>
<li>
<span aria-label='Share to Facebook' class='sharing-platform-button sharing-element-facebook' data-href='https://www.blogger.com/share-post.g?blogID=7468631059340963362&postID=1182133080212216744&target=facebook' data-url='https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html' role='menuitem' tabindex='-1' title='Share to Facebook'>
<svg class='svg-icon-24 touch-icon sharing-facebook'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_facebook_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Facebook</span>
</span>
</li>
<li>
<span aria-label='Share to X' class='sharing-platform-button sharing-element-twitter' data-href='https://www.blogger.com/share-post.g?blogID=7468631059340963362&postID=1182133080212216744&target=twitter' data-url='https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html' role='menuitem' tabindex='-1' title='Share to X'>
<svg class='svg-icon-24 touch-icon sharing-twitter'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_twitter_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>X</span>
</span>
</li>
<li>
<span aria-label='Share to Pinterest' class='sharing-platform-button sharing-element-pinterest' data-href='https://www.blogger.com/share-post.g?blogID=7468631059340963362&postID=1182133080212216744&target=pinterest' data-url='https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html' role='menuitem' tabindex='-1' title='Share to Pinterest'>
<svg class='svg-icon-24 touch-icon sharing-pinterest'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_pinterest_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Pinterest</span>
</span>
</li>
<li>
<span aria-label='Email' class='sharing-platform-button sharing-element-email' data-href='https://www.blogger.com/share-post.g?blogID=7468631059340963362&postID=1182133080212216744&target=email' data-url='https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html' role='menuitem' tabindex='-1' title='Email'>
<svg class='svg-icon-24 touch-icon sharing-email'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_email_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Email</span>
</span>
</li>
<li aria-hidden='true' class='hidden'>
<span aria-label='Share to other apps' class='sharing-platform-button sharing-element-other' data-url='https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html' role='menuitem' tabindex='-1' title='Share to other apps'>
<svg class='svg-icon-24 touch-icon sharing-sharingOther'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_more_horiz_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Other Apps</span>
</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<section class='comments embed' data-num-comments='0' id='comments'>
<a name='comments'></a>
<h3 class='title'>Comments</h3>
<div id='Blog1_comments-block-wrapper'>
</div>
<div class='footer'>
<div class='comment-form'>
<a name='comment-form'></a>
<h4 id='comment-post-message'>Post a Comment</h4>
<a href='https://www.blogger.com/comment/frame/7468631059340963362?po=1182133080212216744&hl=en-GB&saa=85391&skin=emporio' id='comment-editor-src'></a>
<iframe allowtransparency='allowtransparency' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='90px' id='comment-editor' name='comment-editor' src='' width='100%'></iframe>
<script src='https://www.blogger.com/static/v1/jsbin/1167892209-comment_from_post_iframe.js' type='text/javascript'></script>
<script type='text/javascript'>
      BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html');
    </script>
</div>
</div>
</section>
</article>
</div>
</div></div>
</main>
<div class='vertical-ad-container no-items section' id='ads' name='Ads'>
</div>
<aside class='sidebar-container container' role='complementary'>
<div class='section' id='sidebar_item' name='Sidebar (Item Page)'><div class='widget PopularPosts' data-version='2' id='PopularPosts1'>
<h3 class='title'>
Popular Posts
</h3>
<div class='widget-content'>
<div role='feed'>
<article class='post' role='article'>
<h3 class='post-title'><a href='https://sixhiren121.blogspot.com/2014/02/xml-parsing-with-python.html'>Xml parsing with python -</a></h3>
<div class='item-content'>
<div class='popular-posts-snippet snippet-container r-snippet-container'>
<div class='snippet-item r-snippetized'>
    I am using  xml  with Python  xmltodict . But I'm getting the following error,    xml.parsers.expat.ExpatError: mismatched tag: line 2890, column2    this is my code,    import xmltodict import urllib2 url = "url here" data = xmltodict.parse (urllib2.urlopen (url) .read () print data    I have tried to use the  Entry    here, with the at print, the print code 'urlib2 import lxml.etree',    Url = "Url here" xmldata = urllib2.urlopen (url) .read () root = ET.frost string (xmldata) print 'full' print route    This also helps me Error,    lxml.etree.XMLSyntaxError: Opening and closing tag mismatch: Client ID line 54 and type, line 55, column 14    I know that there is a problem in  XML   My question is, what is the way to read all the nodes except that it is  xml ?      
</div>
<a class='snippet-fade r-snippet-fade hidden' href='https://sixhiren121.blogspot.com/2014/02/xml-parsing-with-python.html'></a>
</div>
</div>
</article>
<article class='post' role='article'>
<h3 class='post-title'><a href='https://sixhiren121.blogspot.com/2014/03/firebird25-what-is-use-of-firebirdmsg.html'>firebird2.5 - What is the use of firebird.msg in firebird database -</a></h3>
<div class='item-content'>
<div class='popular-posts-snippet snippet-container r-snippet-container'>
<div class='snippet-item r-snippetized'>
    I'm thinking of using Firebird with my application. I would like to know that the  firebird.msg  is used for the file. Is it an optional or compulsory file to include in your app installer package?       firebird.msg  contains firebird's actual error messages when an error occurs , Firebird only sends the error code and message parameters. The client library then sees the actual error message text in this file.   Without the presence of this file (for firebird 2.5 and earlier its in a folder for  fbclient.dll  (or similar libraries), Firebird 3 and later the same folder In) errormessage will only report that it can not get the  firebird.msg  and error number.   So you do not really need it, but if you need firebird clients or embedded libraries or want and if you want or want a meaningful error message from the firebird, then you should include it.     
</div>
<a class='snippet-fade r-snippet-fade hidden' href='https://sixhiren121.blogspot.com/2014/03/firebird25-what-is-use-of-firebirdmsg.html'></a>
</div>
</div>
</article>
<article class='post' role='article'>
<div class='item-thumbnail'>
<a href='https://sixhiren121.blogspot.com/2014/02/python-getting-cython-to-work-in.html'>
<img alt='Image' src='https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sDBuo8nu_tvIAQhkV_a09pF1cf1YDRyypIgRb54r3USSpmC1GUzXjpEK5m5Xgxd2pahwcl40IMvIiY4EeaXcvHsRard1M' srcset='https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sDBuo8nu_tvIAQhkV_a09pF1cf1YDRyypIgRb54r3USSpmC1GUzXjpEK5m5Xgxd2pahwcl40IMvIiY4EeaXcvHsRard1M=w280 280w, https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sDBuo8nu_tvIAQhkV_a09pF1cf1YDRyypIgRb54r3USSpmC1GUzXjpEK5m5Xgxd2pahwcl40IMvIiY4EeaXcvHsRard1M=w560 560w, https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sDBuo8nu_tvIAQhkV_a09pF1cf1YDRyypIgRb54r3USSpmC1GUzXjpEK5m5Xgxd2pahwcl40IMvIiY4EeaXcvHsRard1M=w840 840w, https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sDBuo8nu_tvIAQhkV_a09pF1cf1YDRyypIgRb54r3USSpmC1GUzXjpEK5m5Xgxd2pahwcl40IMvIiY4EeaXcvHsRard1M=w1120 1120w, https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sDBuo8nu_tvIAQhkV_a09pF1cf1YDRyypIgRb54r3USSpmC1GUzXjpEK5m5Xgxd2pahwcl40IMvIiY4EeaXcvHsRard1M=w1400 1400w'/>
</a>
</div>
<h3 class='post-title'><a href='https://sixhiren121.blogspot.com/2014/02/python-getting-cython-to-work-in.html'>python - Getting Cython to work in Windows 7 with Eclipse PyDev -</a></h3>
<div class='item-content'>
<div class='popular-posts-snippet snippet-container r-snippet-container'>
<div class='snippet-item r-snippetized'>
    I'm trying to learn a new language. I'm a newbie. My operating system is Windows 7 and I have my IDE for Python development. I am using Eclipse PyDev in form.   I have tried to install and test Sithan according to the guides:      Here is the content of my environment variable  PATH :    C: \ texlive \ 2012 \ Bin \ win32; C: \ Users \ jjepoh \ Jonne's_Programs \ CodeBlocks \ MinGW \ bin; C: \ Users \ jjepoh \ Jonne's_Programs \ SSH Client; C: \ Users \ jjepoh \ Jonne's_Programs \ Python \ Scripts;    Minu has been set up under the notation:      I have installed Cython 0.20.1 using Windows Binaries:      I have Python 2.7.5 installed:      Here you can see Cython installed under Python:      To guide my  hello.pyx, test_cython.py  and  setup.py :      It looks like I I can compile the file, but I think something is wrong. The final result is:      Do you have any ideas, what are you remembering here? Why do not I import the module    Thank you for any help. Sorr...
</div>
<a class='snippet-fade r-snippet-fade hidden' href='https://sixhiren121.blogspot.com/2014/02/python-getting-cython-to-work-in.html'></a>
</div>
</div>
</article>
</div>
</div>
</div></div>
</aside>
<!-- close sidebar-container -->
</div>
<!-- close centered-bottom -->
</div>
<!-- close centered -->
</div>
<!-- close page_body -->
<footer class='footer section' id='footer' name='Footer'><div class='widget Attribution' data-version='2' id='Attribution1'>
<div class='widget-content'>
<div class='blogger'>
<a href='https://www.blogger.com' rel='nofollow'>
<svg class='svg-icon-24'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_post_blogger_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
Powered by Blogger
</a>
</div>
</div>
</div></footer>
</div>
<script type="text/javascript" src="https://resources.blogblog.com/blogblog/data/res/2128908390-vegeclub_compiled.js" async="true"></script>

<script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/2726972568-widgets.js"></script>
<script type='text/javascript'>
window['__wavt'] = 'AOuZoY6EqMZjCOy-j2CDlAylfkm6rbS9Ow:1751057905232';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d7468631059340963362','//sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html','7468631059340963362');
_WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '7468631059340963362', 'title': 'Six', 'url': 'https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html', 'canonicalUrl': 'http://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html', 'homepageUrl': 'https://sixhiren121.blogspot.com/', 'searchUrl': 'https://sixhiren121.blogspot.com/search', 'canonicalHomepageUrl': 'http://sixhiren121.blogspot.com/', 'blogspotFaviconUrl': 'https://sixhiren121.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en-GB', 'localeUnderscoreDelimited': 'en_gb', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Six - Atom\x22 href\x3d\x22https://sixhiren121.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Six - RSS\x22 href\x3d\x22https://sixhiren121.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Six - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/7468631059340963362/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Six - Atom\x22 href\x3d\x22https://sixhiren121.blogspot.com/feeds/1182133080212216744/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/fdadcd9dd72c67a1', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en_GB\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'item', 'postId': '1182133080212216744', 'pageName': 'Rails How to Generate a Google Drive-like permalink? -', 'pageTitle': 'Six: Rails How to Generate a Google Drive-like permalink? -'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard', 'ok': 'Ok', 'postLink': 'Post link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': true, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Rails How to Generate a Google Drive-like permalink? -', 'description': '    When we share a Google Drive form, this will give our public URL.   How can we apply it in our Rail application? It should be random and...', 'url': 'https://sixhiren121.blogspot.com/2013/09/rails-how-to-generate-google-drive-like.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 1182133080212216744}}, {'name': 'widgets', 'data': [{'title': 'Six (Header)', 'type': 'Header', 'sectionId': 'header', 'id': 'Header1'}, {'title': 'Search This Blog', 'type': 'BlogSearch', 'sectionId': 'search_top', 'id': 'BlogSearch1'}, {'title': '', 'type': 'FeaturedPost', 'sectionId': 'featured_post', 'id': 'FeaturedPost1', 'postId': '7634718495513952092'}, {'title': '', 'type': 'HTML', 'sectionId': 'page_body', 'id': 'HTML1'}, {'title': 'Blog Posts', 'type': 'Blog', 'sectionId': 'page_body', 'id': 'Blog1', 'posts': [{'id': '1182133080212216744', 'title': 'Rails How to Generate a Google Drive-like permalink? -', 'showInlineAds': true}], 'headerByline': {'regionName': 'header1', 'items': [{'name': 'share', 'label': ''}, {'name': 'timestamp', 'label': ''}]}, 'footerBylines': [{'regionName': 'footer1', 'items': [{'name': 'comments', 'label': 'comments'}, {'name': 'icons', 'label': ''}]}, {'regionName': 'footer2', 'items': [{'name': 'labels', 'label': ''}]}, {'regionName': 'footer3', 'items': [{'name': 'location', 'label': 'Location:'}]}], 'allBylineItems': [{'name': 'share', 'label': ''}, {'name': 'timestamp', 'label': ''}, {'name': 'comments', 'label': 'comments'}, {'name': 'icons', 'label': ''}, {'name': 'labels', 'label': ''}, {'name': 'location', 'label': 'Location:'}]}, {'title': 'About Me', 'type': 'Profile', 'sectionId': 'sidebar_feed', 'id': 'Profile1'}, {'title': '', 'type': 'BlogArchive', 'sectionId': 'sidebar_feed', 'id': 'BlogArchive1'}, {'title': '', 'type': 'ReportAbuse', 'sectionId': 'sidebar_feed', 'id': 'ReportAbuse1'}, {'title': '', 'type': 'PopularPosts', 'sectionId': 'sidebar_item', 'id': 'PopularPosts1', 'posts': [{'title': 'Xml parsing with python -', 'id': 8527717229089200633}, {'title': 'firebird2.5 - What is the use of firebird.msg in firebird database -', 'id': 8708423129277144913}, {'title': 'python - Getting Cython to work in Windows 7 with Eclipse PyDev -', 'id': 1995641144598665462}]}, {'type': 'Attribution', 'sectionId': 'footer', 'id': 'Attribution1'}]}]);
_WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogSearchView', new _WidgetInfo('BlogSearch1', 'search_top', document.getElementById('BlogSearch1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_FeaturedPostView', new _WidgetInfo('FeaturedPost1', 'featured_post', document.getElementById('FeaturedPost1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'page_body', document.getElementById('HTML1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'page_body', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/3668400948-lbx__en_gb.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/123180807-lightbox_bundle.css'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar_feed', document.getElementById('Profile1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar_feed', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_ReportAbuseView', new _WidgetInfo('ReportAbuse1', 'sidebar_feed', document.getElementById('ReportAbuse1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_PopularPostsView', new _WidgetInfo('PopularPosts1', 'sidebar_item', document.getElementById('PopularPosts1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_AttributionView', new _WidgetInfo('Attribution1', 'footer', document.getElementById('Attribution1'), {}, 'displayModeFull'));
</script>
</body>
</html>