CSS 代码或任何将文本(保存在其他服务器中)放入 blogspot 博客的代码..?

发布于 2024-08-28 01:34:02 字数 355 浏览 5 评论 0原文

我在 blogspot 上有一个博客。

步骤(1)。每当任何访问者通过 Google 访问我的 blogspot 博客时,都会通过 JavaScript 跟踪搜索字符串,并将搜索字符串保存在另一台服务器(例如 serverX)中(

步骤 (2))。现在,当另一个访问者(人类/Google Bot/任何下载者/等等)访问我的博客时,他/她应该能够在我的博客中看到搜索字符串(保存在 ServerX 中)(任何地方,无论是内容还是在博客底部....没关系)

好吧,我可以编写 javascript 代码,也可以编写 php 代码来保存搜索字符串... 但我完全不知道如何执行步骤(2) 请告诉我如何执行第 2 步...

谢谢您的期待。

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 my blog, he/she should be able to see the search string (Saved in ServerX) in my blog (anywhere, be it content or at the bottom of the blog....it doesn't matter)

Well, I can code the javascript and can also write a php code to save the search string...
but i've absolutely NO idea how to do the step (2)
Please tell me how to do Step 2...

Thanking you in anticipation.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心奴独伤 2024-09-04 01:34:02

我不认为 blogspot 能够让您编辑任何服务器端模板文件,是吗?如果是这样的话,那就不可能做到这一点了。

如果您确实需要此功能,您可能需要使用 WordPress(安装在您自己的服务器上,而不是 WordPress.com 服务上,因为那时您将处于与现在使用 blogspot 相同的情况)。

I don't think blogspot gives you the ability to edit any of the server-side template files, does it? If so, then it's impossible to do this.

If you really need this feature, you would probably need to use WordPress (an installation on your own server, not the WordPress.com service, as then you would be in the same exact situation as you are with blogspot right now).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文