Questions tagged [blogspot]

0

votes
0

answer
9

Views

Blogspot post content : How to get second image src using javascript

I'm working on a blogspot template and I need to get the second image from post content I've tried: var postcontent = entry.content.$t; var images = postcontent.getElementsByTagName('img'); document.write(images[1]);
wiseman
1

votes
0

answer
508

Views

How can I make Google's blogger a PWA(progressive web app)

I mean to say how to add service worker in Blogspot theme editer.I tried to add an external JavaScript but didn't worked. Please tell me a way how to add a folder or similar to a folder in Blogspot theme.
Anzar Alim
1

votes
2

answer
870

Views

Change background color of transparent PNG images uploaded to blogger

I have a blog hosted by Blogger with a custom template: http://www.drugchannels.net/ Images uploaded to the blog are hosted at X.bp.blogspot.com (where X is a number). Examples: https://1.bp.blogspot.com/-Jwy2VQYRIEA/WqmwvsA07WI/AAAAAAAATA4/jWVcEts1h1Y4IXM0hD0njUhSmQ2AZPnxQCLcBGAs/s1600/Specialty_vs...
Adam J. Fein
1

votes
1

answer
307

Views

Custom meta title for blogger blogspot posts

This is the blog post URL: https://thingsyouwishfor.blogspot.com/2018/04/raindrops-candy-pizza-1534-oz-435g.html Currently the meta title format is set as 'post title | blog title' therefore 'blog title' gets repeated on every blog posts meta tag. Current code is this: | I want to change the meta t...
Faiz Sheikh
1

votes
1

answer
40

Views

How to remove sidebar on pages other than blog posts in Blogger?

I am creating a Blogger theme from scratch and stuck in this situation where I need to remove sidebar from all other pages except the blog posts (a.k.a. 'item'). I've seen all question regarding this but they are advising to do it with css. I'm just wondering, is there any way of NOT loading the sid...
FedUser
1

votes
1

answer
73

Views

How to automatically click a href link when the page loads?

I'm trying to automatically click a href link when the page loads. تحميل المزيد... The link is supposed to load more comments when you click it. I tried this: window.onload = function() { autoloadmore() }; function autoloadmore() { var loadmoreClass = document.getElementsByClassName('load...
L. core
1

votes
0

answer
19

Views

Htaccess Redirect To Custom Permalinks from Blogspot to Wordpress

I move from Blogspot to Wordpress. Blogspot url domain*com/year/month/post-name.html Wordpress Set Custom Permalink domain*com/%author%/%postname%/ I use this redirection on .htaccess RedirectMatch 301 /([0-9]+)/([0-9]+)/(.*)\.html$ /$3/ RewriteCond %{QUERY_STRING} ^m=1$ RewriteRule (.*) $1? [R=pe...
aziu
1

votes
1

answer
28

Views

Blogspot Template: pass widget output to javascript

I want to replace YOUR_LABEL_HERE with widget output value '< data:content/ >' simply i want to pass widget output to my javascript This is my code: Label
wiseman
1

votes
1

answer
23

Views

How to hide Blogger's sidebar on mobile

https://www.journeybytes.com/2018/11/hide-blogger-sidebar-on-mobile.html I tried the method mentioned in the link above (code shown below), but on mobile the sidebar still occupied a blank space with its original width. How can I make the side column totally disappear on mobile so that the main colu...
isend
1

votes
0

answer
22

Views

I want sidebar to move between right and bottom when resizing browser window

Listed below are two examples of a floating sidebar that I want: https://qxxrbull.blogspot.com/?m=0 https://stebalien.com/blog/howto-create-floating-sidebar-on-left/ When reducing the browser width, the right column of the blog floats from right to bottom, with the main or left column automatically...
isend
1

votes
0

answer
14

Views

How to Create Other Widgets in Blogger

I'm new to Blogger templating and still learning. Based on Google document on Blogger and some other websites, I managed to create below template. Title Link I'm able to show posts in index page, post detail and static page content. Below image shows my index page. What I want to add are: List of li...
Bromo Programmer
1

votes
2

answer
1.1k

Views

Blogspot add image in side panel with link

I have a blog in blogspot and I would like to add in my right panel an image with a link. When the visitor clicks on it it will open that link. For example, let say I add the logo of 'NYTimes' and the user clicks on it and the nytimes page opens. Edit: I tried the Gadget Add JavaScript/Html code and...
Tero
1

votes
1

answer
1.1k

Views

Add Categories to Blogger with Google Api?

I am using the Zend Google API for posting to my blogger (Blogspot) Blog. I can enter only the Title and Content but I don't know how to add categories (also known as 'Labels'). Is there a way to use the Zend Api to post to blogger with Categories? Thanks!
MilMike
1

votes
1

answer
228

Views

Blogger widget templates

I am trying to use bootstrap css in Blogger but I can't see how to retrieve post titles and bodies with widgets and b tags. I found this tutorial http://thoughtsomething.blogspot.it/2009/01/understanding-blogger-template-1.html But it does not provide an example of it. It seems so hard but it can't...
Sindico
1

votes
1

answer
550

Views

How to show Article Views in Blogspot?

I want to show the article views for each of my blogspot article. For now, I can show only Total PageViews in my blog which is the count of views of all my pages but now I want to show view of each article. Is it possible in blogspot?
1

votes
1

answer
278

Views

How to open a new windows on body load in blogger?

I have my blog under url http://www.funjin.blogspot.com and i want to open a new window having specific url when the blog loads. Can anybody help?
Naveed Baig Jokhio
1

votes
3

answer
2.7k

Views

manage browser cache for blogspot?

I have to improve my blogspot loading speed and i do not know where to manage cache. In normal websites it is .htaccess file. Where i have to put this code: ## EXPIRES CACHING ## ExpiresActive On ExpiresByType image/jpg 'access 1 year' ExpiresByType image/jpeg 'access 1 year' ExpiresByType image/gif...
bigg_jack
1

votes
1

answer
870

Views

Mobile conditional tags for blogger responsive template

I can use true or false statements in blogger conditional tags if I don't want to show elements in blogger mobile. //Contents inside this, will only appear in Desktop version. But is there any way to onactive elements in mobile phones with specific resolution; e.i: (240*320)? OR, is there any way...
Nazmul Ahasan
1

votes
1

answer
124

Views

What might be causing Google+ Comments in Blogspot not to work on certain pages?

I'm working on a blogspot custom template, and am adding compatibility with Google+ comments. In order to do that, I've included the following tag in the template code to allow these kind of comments to be displayed in each post of the blog: With this I've managed to present Google+ Comments associa...
Erizo
1

votes
1

answer
187

Views

PHP How to check removed blog in blogspot?

I want to check blog status, active or removed. Active blog: http://novisadcats.blogspot.com/ Removed blog: http://cityofangell.blogspot.com/ Removed blog, but available to register: http://madhouseofporn.blogspot.com/ I am trying to use php get_headers(); I can check if that blog is active or rem...
Ajie Kurniyawan
1

votes
2

answer
589

Views

show script in mobile only in blogger blog

I have a script that need to work only in mobile view in my blog in blogger (blogspot). How can I do it? This is the script: googletag.pubads().definePassback('7047/KartisimOnline_Android_MobileWeb_Transition_IP', [[1,1]]).display(); the template is responsive. Tx for anyone that can help....
lighter77
1

votes
2

answer
634

Views

How to remove Subscribe to Post (Atom) from blogger?

Can anyone tell me better option to remove Subscribe to Post (Atom) from blogger than hiding the link by making it the same color as background?
pranav shaj
1

votes
2

answer
377

Views

Display widget only on label search page in blogger/blogspot

I want to display Blogger widget only on label pages. I search on Google, but haven't found any way to do it. How to do it?
user76814
1

votes
1

answer
124

Views

Custom Facebook Send button

I have this group of share buttons in my website: I would like to add also a Facebook Send button. I see in bbc website that they have a custom Send button: bbc custom share buttons My difficulties related to a custom Send button are related to the fact that i'm working in a blogger blog platform. I...
John Grischam
1

votes
1

answer
124

Views

Don't caching images in Blogger

I need to disable cache for images in my blog (blogspot) When i refresh my browser images in my blog are not updated. Only if i delete browser history i get updated image. Because images coming from remote hosts (webcam sources) and they are often updated i need to display last saved image in brow...
grigione
1

votes
1

answer
378

Views

Why HTML/JavaScript widget is not showing in my blogspot?

Since I enabled https redirect in my blog my HTML/JavaScript widget is not showing. but before that the same HTML/JavaScript code was worked and widget showed. I also searched about it but nothing found without HTTPS Redirect disabling. I disabled the HTTPS Redirect option. But nothing changed still...
Zakariya
1

votes
1

answer
111

Views

Why facebook keeps on showing 'YOUR DESCRIPTION HERE' when sharing my blogger post?

When I tries to share my blogger post on facebook via a page then facebook thumbnail always shows 'YOUR DESCRIPTION HERE' message like this : I have modified my meta content on blogger template as : and searched for the phrase 'YOUR DESCRIPTION HERE' but I'd not found any however it keeps on showin...
Nalin Adhikari
1

votes
2

answer
81

Views

Blogger automatically includes href tag when switch between 'html' and 'compose' mode

I am facing two issues, bother are pretty much similar. When I add this code to a blogger/blogspot page it works fine, but as soon as I switch to 'compose' mode from 'html' and save the post it changes the tag automatically and gives error link. I am adding below code to blogger page where I want t...
Faiz Sheikh
1

votes
2

answer
0

Views

How to automatically open a post in new tab when user clicks on the post?

When a user come to my site and on main page when user clicks on any post on post title that post should open in new tab. Its Google Blogger related.
Rohan Kumar
1

votes
1

answer
0

Views

blogspot.com List of all posts of the same tag

I created a new page on my blog and I would like to add there a list of all posts which include the same tag. For example: the tag name is 'game' and I am looking for an JavaScript which will list all posts with images that contain tag 'game'. Here I have already a code that lists popular posts: fun...
PaweX3
1

votes
1

answer
0

Views

A CSS code Or Any code to put text (saved in other server) into blogspot blog..?

I have a blog in blogspot. Step (1). Whenever any visitor visit my blogspot blog through Google, the search search string is tracked through a javascript and the search string is saved in another server (say serverX) Step (2). Now, when another visitor (human/Google Bot/Any downloader/etc..) visits...
Nok Imchen
1

votes
1

answer
0

Views

How to verify if a user visiting a Blogspot blog is the owner of that blog?

I would like to verify that the user is the owner of the blog by doing something like the following: (display an admin button) Any recommendations? Thanks!
Urmelinho
1

votes
3

answer
0

Views

Blogger IFRAME reciveing URL_argument from URL

Is it possible to have a page (or post) in the BLOGGER platform that works similar to this: blog.blogspot.com/a.html?url=http://google.com/ And it would embed in an IFRAME the argument (http://google.com/) I already have the code for the IFRAME, but it's static: Your browser does not support iframes...
1

votes
1

answer
0

Views

Pulling Blogspot Posts with PHP

I am developing a lightweight app that has a rudimentary news feed, that will be populated from Blogspot. Does anyone know any blogspot php frameworks that can pull the list of items posted within blogspot, and also pull the content (and other data) of an individual post.
topherg
1

votes
3

answer
4.6k

Views

How to enable GZIP on blogger OR how to increase blogger speed if using too many script?

I have been looking for these solution for 3 weeks, and it seem like nobody care about it. Is it possible to enable gzip on blogger? If not, how to increase blogger speed if I'm using too many script? Thanks in advance.
Suzylee
1

votes
1

answer
881

Views

301 redirect from blogspot to another blogspot with custom domain

Okay. I moved my blog from costumingdiary.blogspot.com to dressdiary.blogspot.com. Then I changed dressdiary.blogspot.com to costumingdiary.com I'm trying to let Google know that costumingdiary.blogspot.com is now costumingdiary.com I have the change of address in Google Webmasters up. I am stuck at...
costumingdiary
1

votes
1

answer
277

Views

Google prettify code: Google prettify code not working in blogspot

I am using google prettify code in my blog to syntax highlighting but last few days, all of sudden it discontinue to work. I have included js/css files in my blogspot theme, moreover when I hit these files link directly in to my browser it throws message error page 404. I am sharing files included...
Anjan Kant
1

votes
1

answer
226

Views

Blog with mathjax seen on a cellphone

I'm using mathjax in my blogspot blog and it works well when seen in a computer, but formulas don't transform when seen on a cellphone. I found this other blogspot blog where its formulas can be seen on a cellphone. Why? How can I make my blog transform formulas when seen on a cellphone too?
Quique Ruiz
1

votes
2

answer
229

Views

How can I programmatically log into blogger.com?

I want to automate backing up my blogspot blog. How can I programmatically log in to my blogspot account and click the 'Export Blog'/Download link as detailed here? (Python preferred, but open to anything.) http://support.google.com/blogger/bin/answer.py?hl=en&answer=97416
Mark Harrison
2

votes
2

answer
782

Views

blog id on blogspot

I want to create a button on Blogspot. The button must send me the blog.ID and post.ID. I can get the post.ID with code but don't know how to access blog.ID?
Urmelinho

View additional questions