Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Hot answers tagged

8

The most basic form is just wrap your code with <code> tags. If you want somthing more fancy, you can use http://codeformatter.blogspot.com/. Just paste in your code beforehand and it will give you the HTML to paste on your Blogger page. It gives nice effects like alternating color lines and line numbers. For example your example, using the defaults ...


6

You shouldn't use br elements for separating paragraphs. From the HTML5 specification: br elements must be used only for line breaks that are actually part of the content, as in poems or addresses. A paragraph should be enclosed in a p element. The div element doesn't add/change any meaning. At most it changes the styling of the content (via CSS; ...


5

I don't think you can do that on Tumblr. All those "messy numbers" is the Tumblr's Globally Unique Post ID. The part that follows (the "slug") has no identifying purpose on Tumblr -- All that matters is the Post ID. For example, these are all equivalent URLs: my-blog.tumblr.com/post/123456789/my-post-slug-that-tumblr-generated my-blog.tumblr.com/post/...


5

It is not possible to upload files other than image and video files to Blogger. You would have to use other file sharing websites like Dropbox to share such files. Also, your Google Drive link works perfectly fine, feel free to use that link to share the same file with other people.


5

you can just generate share link via UI (for example: https://skydrive.live.com/redir?resid=CA1656805C59C6C9!174&authkey=!ABYGECM1-9fSPG8), then replace "redir" for "download" (like this: https://skydrive.live.com/download?resid=CA1656805C59C6C9!174&authkey=!ABYGECM1-9fSPG8) and this will be direct download link.


4

You - or the person concerned - needs to remember enough details to convince Google that they really did create the blog. There are links to the forgotten password process (that won't work without access to the email), and to the account recovery exam, here: http://blogger-hints-and-tips.blogspot.com/2010/11/deleting-blogs-and-blog-posts.html You / they ...


4

Pingomatic is a service which alerts (pings) multiple RSS aggregators/search engines in one action when there is a new post on your blog. This saves you from having to register your blog to all of the services individually. From the Ping-O-Matic main page: What is this? Ping-O-Matic is a service to update different search engines that your blog has ...


4

Tumblr doesn't offer any statistics by default. However, you can edit your theme and add in a tracking service's code that will allow you to see how many people have visited your blog (this would also include your own visits). Google Analytics is the easiest way to get started and it's free. To get to your theme editor you'll need to go to http://www....


4

Dropbox is intended for file sharing, not really web hosting and will even limit the traffic to your site if it gets too much traffic. If you are just trying to host some kind of blog I suggest using a blogging platform such as WordPress that allows you to create a free blog.


4

The index.html redirect from / is resolved by the web server. Given that Dropbox doesn’t offer a web hosting service, but a file hosting service, I doubt you’ll be able to make it work the way you want.


3

By installing an extension/add-on that does it, like Ghostery. It blocks/removes a lot of things, but you can just select Disqus out of the preferences list and that’s it. Note that blocking some “bugs,” as they are called by Ghostery, means blocking JavaScript scripts, which might lead to some related errors on different pages, depending on various factors....


3

If you use Dropbox, here's a quick solution using Google Audio Player: Upload audio file to Public folder on Dropbox, and save its public link somewhere. Embed audio player in your blog post with this code (via): <embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3523697345-audio-player.swf&quot; ...


3

Since you use Drupal, you can also use Drupal for Facebook. It is a module that you have to install into your Drupal website. With this module, you can automatically publish your new content to Facebook and allow Facebook users to connect via Facebook Connect.


3

Blogger does not support relative addressing, so this is not possible. If you change your blog name, then: Blogger will change the names of links in your Pages gadget that point to your pages Blogger will not change any internal links in your blog. So you will have to manually edit each post, look at it in HTML mode and find-and-replace any links. This ...


2

I'm not sure why you want to keep this content separately from the rest of the blog. Blogger has been supporting non-blog pages for several years now. If you want your content to be displayed on every page, you can add a widget with that content. If you, after all, still want the content to be hosted externally, Blogger supports <iframe /> tag at ...


2

We watch carefully for any fraudulent use of Dropbox public links and will suspend suspicious links when they are detected. Links that use up more than 20 GB/day for Basic (free) accounts and 200 GB/day for Pro and Teams (paid) accounts are automatically suspended. From Dropbox help.


2

If you want to have similar result as in StackExchange sites, use Google Prettify. This is exactly what is used here.


2

This Zapier Zap will let you share to your company page. You can also share to multiple pages as well which might be a benefit if you have lots of different Facebook pages to manage sharing. Disclosure: I run Zapier, but I still think it's a great solution. :)


2

Head to Google.com and search using site:*.blog.com keywords to search for.


2

Reading posts According to the documentation, users need to opt-in to be able to find posts from NSFW blogs with Tumblr’s search: What should I do if I don't want to see adult-oriented content? Unless you actively choose to display explicit content, when you search for anything on Tumblr you will not see content from blogs that are marked as NSFW (not ...


1

It turns out that Google Drive does have streaming capabilities. And it doesn't change the URL for anything you move, so it's the perfect solution (aside from not having unlimited storage, but my use case doesn't require that, so I'm good). So my blog post jus consist of the following HTML: Whatever I want to write here...<br /> <br /> <hr /&...


1

Here is a list of different brushes that you can add to the script to support several other languages, among which are batch files (bat, cmd, batch): http://www.undermyhat.org/blog/2009/09/list-of-brushes-syntaxhighligher/


1

You are correct, Blogger does not support this feature. Google Sites lets you create a website that is restricted to people who have access to the domain. If you use a "News" (I think that's the right one) type of page, it effectively creates a blog-style site which you can make posts to. (And the post-editor appears to be based on the same tools as ...


1

I believe that the limit is 100 invitations - ever. It doesn't matter if those invitations are accepted or not, once they're sent, they count towards the limit. Could it be that you've added 50 invitations before now, and so the current 50 mean you have reached the limit? (Or maybe Blogger has changed the limit). Also, once you have reached the limit,...


1

Blogs I'm following is a rather new feature. That's probably the reason it's not in the Android app yet. For the settings, Blogs I'm following is a special folder maintained by Google Reader itself, so you are probably not allowed to change anything about it.


1

In the Blogger Dashboard, go to Layout > Blog Posts (edit), and there is an option for Show Share Buttons. Turn this on, and the buttons should show. If they don't, then it's likely that your Post Template is corrupted - the best description I've seen of fixing the problem is here: http://www.bloggersentral.com/2011/01/reset-corrupted-blog-posts-...


1

You haven't actually told us what is painful. Is it the lack of shading? Or is it the fact that Blogger tries to interpret HTML (and HTML-like) commands in the code. If it's the latter, then a very simpley solution is just to turn of the interpretation: it's an option under the Post Options settings in the post-editor.


1

You can add the qTranslate plugin to a Wordpress install.


1

Just checking I've understood this properly: you want to have a list format file for which you keep the master version locally, and edit it with tools on your desktop. From time to time, at intervals of your choosing, you do "something" that uploads the updated version of this file to your blog, and your website. (Because, you don't keep your desktop ...


Only top voted, non community-wiki answers of a minimum length are eligible