NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on May 24, 2017, 05:38:57 AM

Title: looking for a way to alter the top lines generated by nettalk ?
Post by: MikeR on May 24, 2017, 05:38:57 AM
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 -->
Title: Re: looking for a way to alter the top lines generated by nettalk ?
Post by: ntnewbies on January 01, 2018, 07:23:11 PM
Hi Mike,
did you manage to solve this problem?

jason
Title: Re: looking for a way to alter the top lines generated by nettalk ?
Post by: Robert Iliuta 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
Title: Re: looking for a way to alter the top lines generated by nettalk ?
Post by: ntnewbies 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.... :(