Questions tagged [page-title]

245 questions
56
votes
11 answers

Is there a way to modify the page title with React-Router v4+?

I'm looking for a way to modify the page title when React-Router v4+ changes locations. I used to listen for a location change action in Redux and check that route against a metaData object. When using React-Router v4+, there's no fixed routes list.…
42
votes
9 answers

Get title of website via link

Notice how Google News has sources on the bottom of each article excerpt. The Guardian - ABC News - Reuters - Bloomberg I'm trying to imitate that. For example, upon submitting the URL…
Noob
  • 531
  • 1
  • 7
  • 12
25
votes
10 answers

Setting Page title doesn't work

I've got a strange problem that setting the Title property of my ASP.NET page does not have any effect, in code level. It doesn't throw an exception either. My class is a derived class of Page class but I am not overriding anything about title. In…
Can Poyrazoğlu
  • 29,145
  • 40
  • 152
  • 327
22
votes
4 answers

Change Title With Javascript

How can I modify the existing title to the document with Jquery as mouseover title change like that on facebook title link.
ukung
  • 292
  • 1
  • 4
  • 12
16
votes
5 answers

Backbone and document.title

I'm creating a single page application with backbone.js and would like to know the best way to handle changing the title. I was thinking of having a 'title' option in the view and have the router (somehow) get set the document.title. Has anyone…
Xerri
  • 4,502
  • 3
  • 39
  • 50
13
votes
2 answers

seaborn FacetGrid: How to leave proper space on top for suptitle

Could someone show me how to leave extra space on top of a FacetGrid? I try to put a super title to the top of a FacetGrid plot but end up with the super-title overlapping with the subplot titles due to very limited margin on top in the default…
user3287545
  • 1,331
  • 3
  • 16
  • 17
13
votes
5 answers

How to get page title in wordpress

Well, I have tried But the code is not working. I am using wordpress 4.1. This should work but it isn't. Has wordpress updated the functions?
HalfWebDev
  • 5,009
  • 10
  • 48
  • 84
10
votes
6 answers

how to change title of aspx page dynamically on page load

I had set of ASPX pages in which each page had different titles, but I want to put default title for pages which don't have a title. The default title must be configurable.
Randhi Rupesh
  • 12,692
  • 7
  • 24
  • 45
9
votes
1 answer

Website title is wrong when sharing link on facebook, or liking website

Ever since adding the code for facebook like buttons and the meta tags, my website now has a problem when being shared on facebook. If you put the link "http://podawful.com" into facebook it comes up with the title being "Derp" instead of "Pod…
Jesse P-S
  • 91
  • 1
  • 1
  • 2
8
votes
5 answers

UpdatePanel seems to re-encode characters in the page title?

I have pages with special characters in the title for proper typography, for example it says Exchange ‘07 Groups" with a proper apostrophe, not a single quote. The HTML entity for the apostrophe is ‘ So, I've found that if I set the page…
CBarr
  • 21,475
  • 18
  • 85
  • 119
4
votes
0 answers

Set Page Title for a PDF inside the Action

I have an action that displays a pdf public ActionResult MyPdf() { var response = pdfService.MyPdf(new PdfRequest() { SiteId = siteSession.ActiveSiteId }); return File(response.Pdf, "application/pdf"); } The service opens a PDF, fills out…
Josh
  • 15,587
  • 25
  • 107
  • 149
4
votes
2 answers

Python selenium get page title

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.firefox.options import…
4
votes
1 answer

I'd like my page titles to automatically scale to fill the available space (horizontally)

I'm creating a blog (via tumblr) and I'd like my page titles to automatically scale to fill the available space horizontally, and perhaps to push the content down a little at the same time. (by scale, I mean the changing the font size, and perhaps…
Rhys Mills
  • 43
  • 3
4
votes
6 answers

can yo make the webpage title change again and again

suppose I have a webpage with a title "Hi I am a title" but 5 seconds after the page has been loaded it becomes "Hi I am another title" and then 5 seconds after that it becomes "I am also a title" and then this keeps happening again and again.Can…
4
votes
4 answers

Is the meta type="title" tag needed and what's the best format for the title tag?

I have seen some websites use the following tag: Is it needed when you have a ? Also, what's the best formatting for a page title? Some ideas: Page Description :: Company Name Page…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/seo" class="post-tag grid--cell" title="show questions tagged 'seo'" rel="tag">seo</a> <a href="../../questions/tagged/meta-tags" class="post-tag grid--cell" title="show questions tagged 'meta-tags'" rel="tag">meta-tags</a> <a href="../../questions/tagged/page-title" class="post-tag grid--cell" title="show questions tagged 'page-title'" rel="tag">page-title</a> <a href="../../questions/tagged/meta-title" class="post-tag grid--cell" title="show questions tagged 'meta-title'" rel="tag">meta-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 27 '08 at 17:38">asked Oct 27 '08 at 17:38</time> <a href="../../users/5441/darryl-hein" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/5441.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Darryl Hein" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/5441/darryl-hein" class="s-user-card--link">Darryl Hein</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">134,677</li> <li class="s-award-bling s-award-bling__gold" title="87 gold badges">87</li> <li class="s-award-bling s-award-bling__silver" title="206 silver badges">206</li> <li class="s-award-bling s-award-bling__bronze" title="257 bronze badges">257</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=16" rel="" title="Go to page 16">16</a> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=17" rel="" title="Go to page 17">17</a> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script> /* replace <time class="fromnow" /> with human delta between `datetime` attr and now */ document.addEventListener('DOMContentLoaded', function(){ var time_elements = document.querySelectorAll("time.fromnow"); for (var i=0; i<time_elements.length; i++) { time_elements[i].innerHTML = moment(time_elements[i].getAttribute("datetime")).fromNow(); } }); </script> </body> </html>