NetTalk Central

Author Topic: looking for a way to alter the top lines generated by nettalk ?  (Read 4647 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Below is the first few lines of the html code generated from my nettalk app.

I need to insert lines between the <script and <title> lines
or i need to insert a <meta line
where , what , how can I do this ?


<!DOCTYPE html><html class="nt-html no-js">
<head>
<meta name="default" http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/themes/jmr/theme.css?c=1" rel="stylesheet" />
<link href="/styles/chrome.css?c=1" rel="stylesheet"/>
<script src="/scripts/all.js?c=1" type="text/javascript"></script>
<script src="/tiny_mce_jq/tinymce.min.js?c=1" type="text/javascript"></script>
<title>MyCv.JMR.co.za</title>
</head>
<body class="nt-body">
<div id="body_div" class="nt-body-div">

<!-- PageHeaderTag -->

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
Re: looking for a way to alter the top lines generated by nettalk ?
« Reply #1 on: January 01, 2018, 07:23:11 PM »
Hi Mike,
did you manage to solve this problem?

jason

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: looking for a way to alter the top lines generated by nettalk ?
« Reply #2 on: January 02, 2018, 05:29:09 AM »
Hallo!

Try on WebHandler > SetCustomHTMLHeaders after parent

Code: [Select]
self.metaHeaders = '<meta name="robots" content="noindex"><13,10>'&|
        '<meta name="googlebot" content="noindex"><13,10>'&|
        '<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600&amp;subset=latin-ext" rel="stylesheet">'


Regards,
Robert

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
Re: looking for a way to alter the top lines generated by nettalk ?
« Reply #3 on: January 09, 2018, 02:18:34 AM »
Hi Robert,
Thanks! Spot on.
But i am having a problem. It seems the script that i am loading  (live link) is conflicting with nettalk jquery.
even if i put noconflict(true), it is not seems to be working.... :(