105 Topics

Member Avatar for
Member Avatar for Dani

This is a very quick 'n' simple vBulletin SEO hack. It's easy to apply and it's the one I have been using here on DaniWeb for the past couple of months. I was going to wait until we went vB 3.5 to release it but I might as well do …

Member Avatar for Dani
1
5K
Member Avatar for Dani

If a page is noindexed, but includes a meta reference to an AMP version, is this a mixed signal? Is the AMP version checked to see if it’s noindexed as well? Are there situations where you would want to index the AMP version but not the desktop version? Is Google …

Member Avatar for Dani
0
145
Member Avatar for Dani

In 2022 (as opposed to a few years ago, when Google was really prioritizing AMP in the SERPs), does it make sense to use AMP pages for a content-based site, but *not* news-based site (e.g. Google News is not relevant) if you can achieve all good core web vitals metrics …

Member Avatar for odeskavita
2
103
Member Avatar for Dani

To AMP or not to AMP, that is the question. For those who have decided to implement AMP (Wordpress users, I'm looking at you!), have you noticed a difference since doing so? For those of you who have chosen not to, what are your reasons?

Member Avatar for Dani
1
2K
Member Avatar for Dani

AMP pages are clogging the Valid Pages coverage report, grouped as Indexed, Not Submitted In Sitemap. My AMP pages are linking to the AMP version of the URLs the desktop versions link to. Desktop links to desktop. AMP links to AMP. What this means is that sometimes the AMP version …

Member Avatar for Dani
1
312
Member Avatar for Dani

Googlebot is crawling my AMP pages more than they are crawling my desktop pages. I have the appropriate canonical from AMP to desktop and amphtml from desktop to AMP. The desktop version also has a self-referencing canonical. Only canonical pages are in the sitemap. This is a concern because less …

Member Avatar for daxclark52
1
241
Member Avatar for Eugene_15

I need to refresh my div tag (galleryadv) after ajax post submits to prepare for the next submit. But after submit successfully and refresh, my customized selection tag always changes to the default selection tag. would need some help to resolve my customized selection tag background color, it changes back …

Member Avatar for Dani
0
118
Member Avatar for Dani

Is it appropriate to noindex AMP pages whose desktop canonicals are noindexed? Currently, my valid but low-quality pages are noindexed. They point to an amphtml version, and that AMP page is noindexed as well.

Member Avatar for bradvictor1
1
333
Member Avatar for Dani

Is there an advantage to submitting my AMP pages to my Google sitemap? I am using `<link rel="amphtml" ...` but I was wondering if submitting them lead to faster discovery? My AMP pages are starting to show up in Google Search Console Coverage for "Indexed, not submitted in sitemap" However, …

Member Avatar for Dani
0
432
Member Avatar for davy_yg

Hello, Any ever build web using AMP? What is it really? Is it similar like bootstrap? How to do it? Is it difficult or taking a long time to implement? Thanks in advance.

Member Avatar for Dani
1
916
Member Avatar for VietnamTours

Hi. Google Search Console inform us like this: Referenced AMP URL is not an AMP We do not know what that information is. Can please anyone help? My website is https://adventurejourney.vn/ Thank you in advance for your help! Adventure Journey Team!

Member Avatar for Dani
0
446
Member Avatar for yangyang

Did some tests and seems all the HTML5 tags / features work pretty well across all modern browsers except in IE6 for whom you have to use a little JS to make it style specific HTML5 elements. It's easy but still takes quite some time to shape your skills / …

Member Avatar for baabroz1
0
256
Member Avatar for Mahi_6

I need an answer for this question ( write 2 program that takes grade as input and display the range of marks use the select case and if() A. 90 to 100 B+ 80 to 89 B. 70 to 79 C 60 to 69 D 50 to 50 F. F

0
260
Member Avatar for Naheed_2

Hi, I have the following html code I have for a task manager. <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <asp:Button runat="server" ID="btnAddTask" CssClass="btn btn-success btn-toolbar" Text="Create Task" OnClick="btnAddTask_Click" /> <asp:Button runat="server" …

0
309
Member Avatar for Deep Modi

Hello sir, I am trying to create the FOoter... My Work (Code): <html> <body> <div id='footerdiv' style="height:400px;background-color:#091d22"> <div id ="Socialbar" style="height:50px; background-color:#0c3239"> </div> <div id="ftNavBar"> <div class="ftNav" id="ft_summary"> <script type="text/javascript" src="http://ji.revolvermaps.com/2/1.js?i=8yc9f8z4elm&amp;s=350&amp;m=8&amp;v=true&amp;r=false&amp;b=000000&amp;n=false&amp;c=ff0000" async="async"></script> <div class="ftNav" id="xsoftware"><h1>Software-1</h1> <ul> <li><a href="">Advance Notepad</a></li> <li><a href="">X Content</a></li> <li><a href="">y Content</a></li> <li><a href="">z Content</a></li> </ul> </div> …

Member Avatar for Christel_1
0
154
Member Avatar for seotheo

I have the following form that I need the fields to be mandatory before submission: form name="application" id="applicatipn" method="post" action="send_mail.php" > <h2 class="title">form</h2> <p class="sub-text">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX </p> <table width="620px"> <tr class="bg-grey"> <td> <h3 >Personal Details</h3> </td> </tr> </table> <table width="600px" class="bg-light-grey" style=" margin-left: 10px"> <tr> <td valign="top"> <label>Title</label> <br /> <input …

Member Avatar for veedeoo
0
356
Member Avatar for PulsarScript

Hi all,how do i link lets say thankyou.html page to my conatct.html page,so the idea is after submiting the page,by pressing the submit button,the confirmation page should pop up. Thank you. Part two - how to set up php so the request/submited page is sent to my email

Member Avatar for Bob Hensley
0
203
Member Avatar for owen101
Member Avatar for fheppell

When I open a page the page loads for a very long time and no errors appear in the logs. I've run it through a syntax checker which told me there was one more opening parenthasis than expected, but didn't give me a line number, so I have no idea …

Member Avatar for Member #46692
0
329
Member Avatar for Benjamin_5
Member Avatar for NardCake
0
142
Member Avatar for devianleong

Hi, This is my php code for category UL and LI recursive. Now is working fine but the output is not what I expected. Here is the HTML output of the code I provided: <ul><li> <a href="#">Electronic Gadgets </a><span class="subDropdown plus"></span><ul><li> <a href="#">Pant</a></li><li> <a href="#">Aircond</a></li><li> <a href="#">Shoe</a></li><li> <a href="#">test</a></li><li> <a …

Member Avatar for Member #120589
0
1K
Member Avatar for pars99
Member Avatar for rubberman
0
265
Member Avatar for artemix22

i'm just curious, can we make scrolling text without using a Timer? (like scrolling text for news in television)

Member Avatar for Gé48
0
202
Member Avatar for anumiqbal

kindly help me n tell me in 2 dimension array wen we r taking words as input then cin would be used or getch..???plz replay.me waiting

Member Avatar for WaltP
0
138
Member Avatar for Member #46692

I noticed in some users' profiles you're converting htmlentities when it shouldn't be. Actually, I don't know if this is a security precaution but my point is someone might say in their profile 'I like doing this & that' The & sign is converted to a htmlentity and it reads …

Member Avatar for Member #46692
0
213
Member Avatar for phorce

Hello, I'm building an application in PHP and when outputting HTML tags, it shows the tags.. So for example: <?php echo "<b>Hello world</b>"; ?> I would expect Hello world to be in bold.. But no, I get: <b>Hello world</b> as the output Any ideas please?

Member Avatar for phorce
0
72
Member Avatar for Mike Askew

I'm well aware this is most likely going for an instant shoot-down. Currently we can only get the four line signature. It would be nice to allow small HTML imaging. For example I'd like to include my StackOverflow flair :) <a href="http://stackoverflow.com/users/1220965/mike"> <img src="http://stackoverflow.com/users/flair/1220965.png" width="208" height="58" alt="profile for Mike at …

Member Avatar for Dani
0
253
Member Avatar for gerbil

I'd like to respond to a poster, but i get a red warning about a code snippet being not correctly formatted. There is no code in my post, just some log references and a URL. This site... it's getting beyond me... i do not follow the reason for the parroting …

Member Avatar for Dani
0
275
Member Avatar for xzero1

i am using html agility pack to retrieve the articles from website with "p" tag, but it return all the user comments along with it. how to overcome one this. i have only one string holding all the stuff at last.

0
187
Member Avatar for DaveyMoyes

HI everyone, I have a script running on a website that uses the facebook share.php file. <?php $title=urlencode(''.$numrows['title'].' | '. htmlentities(money_format("%10.2n", $numrows[price])).' '.$currency_code.''); $url=urlencode(''.$token.''); $summary=urlencode(''.$numrows['description'].''); $image=urlencode(''.$numrows['img1'].''); ?> <a id="button" onClick="window.open('http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $title;?>&amp;p[summary]=<?php echo $summary;?>&amp;p[url]=<?php echo $url; ?>&amp;&p[images][0]=<?php echo $image;?>', 'sharer', 'toolbar=0,status=0,width=550,height=400');" target="_parent" href="javascript: void(0)"> <input type='submit' class='btn' title='Share This Item …

Member Avatar for Member #120589
0
962
Member Avatar for sentongogray
Member Avatar for Hakoo

Hello all, I am trying to validate my ASP.NET page in W3C validator. I am getting following errors. Can anyone help with this? No DOCTYPE found! Checking XML syntax only. The DOCTYPE Declaration was not recognized or is missing. This probably means that the Formal Public Identifier contains a spelling …

Member Avatar for mikev2
0
251
Member Avatar for marino07

i have to make a two players snake and ladder game in c++, in which i have to display the board aswell. i donot know should i use set(w) statment and cout my board or should i go for arrays? n if i do it using arrays, how to show …

Member Avatar for marino07
0
294
Member Avatar for irfansweb

The signature links of DaniWeb.com are nofollow, will they Dofollow at any stage, i am new user.

Member Avatar for Dani
0
28
Member Avatar for softDeveloper

Hi all, I have Text in MySQL utf 8 and an iframe displaying this text, and the page content is utf8. Does anybody know why the iframe caret position doesn't match with MySQL position when there are line breaks, and how to fix it? Regards

Member Avatar for softDeveloper
0
157
Member Avatar for yanwick

I have this file x.php but it doesnt work. Php only works if it is in a pure php file (with no html code).Im using xampp 1.7.7. Any ideas what might be the problem ? [CODE]<html> <body> <?php echo ("HELLO"); ?> </body> </html>[/CODE]

Member Avatar for yanwick
0
247
Member Avatar for Aung Myat

Hi all, I just started learning Python and Beautiful Soup. I am developing a script to look for particular text "Running" in the HTML. If that text "Running" exits, I would like to print out the keyword "QSAJK". Please see the attached image to visualize. If there is one or …

Member Avatar for tomstratton
0
4K
Member Avatar for Commando112

Hi, This is my version of a user script. panel.php (Logged in Page) [CODE=PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <? session_start(); if(!session_is_registered(myusername)){ header("location:index.php"); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>C&amp;C-Relived Control Panel</title> </head> <body> <span style="color: #FFF">Login Successful</span> <form name="form1" method="post" action="logout.php"> <input type="submit" …

Member Avatar for Member #671080
0
102
Member Avatar for Que336

I have been trying to follow this google maps API tutorial. [url]http://code.google.com/apis/maps/articles/phpsqlajax.html[/url] The problem is i keep getting this error and I don't know what I'm doing wrong. Here is my code. [CODE]<?php require("phpsqlajax_dbinfo.php"); function parseToXML($htmlStr) { $xmlStr=str_replace('<','&lt;',$htmlStr); $xmlStr=str_replace('>','&gt;',$xmlStr); $xmlStr=str_replace('"','&quot;',$xmlStr); $xmlStr=str_replace("'",'&apos;',$xmlStr); $xmlStr=str_replace("&",'&amp;',$xmlStr); return $xmlStr; } // Opens a connection to …

Member Avatar for HITMANOF44th
0
246
Member Avatar for dress237935
Member Avatar for Zssffssz

When on the digital mars website he advertzed that their compiler could use all 80bits of a 32bit machine. What the heck does this mean?

Member Avatar for Narue
0
73
Member Avatar for sid78669

I have the following HTML in a webpage that I want to mine for data: [code=HTML] <td id="topdisplay" class="menu-item"> <div class="bg"> <a href="/game.php?village=55303&screen=ranking">Ranking</a> <div class="rank"> (4<span class="grey">.</span>120.|2<span class="grey">.</span>124 P) </div> <table class="menu_column" cellspacing="0"> </div> </td> [/code] I want to get the data inside the rank class and get the numbers, …

Member Avatar for sid78669
0
136
Member Avatar for Xcelled194

I need to retrieve a HTML file from an external site ([url]http://example.com/page.html[/url]) and parse it. Parsing it is fine, however I can't seem to find a way to retrieve the file given this: [LIST] [*]Cannot use cURL [*]Must work on PHP 4.3.9+ [*]Must retrieve the file as a HTTP request …

Member Avatar for migcosta
0
666
Member Avatar for nonshatter

All, I have a simple question. What is the standard procedure for retrieving form values via POST method in a web form? Perl can be extremely awkward for web programming, I'd normally use something else, but in this case I need to use Perl for the CPAN module. Anyway, back …

Member Avatar for nonshatter
0
492
Member Avatar for ciokhan

hello i need one of 2 things. either to make a table which changes its background color to black when the mouse enters the table and when the mouse is out, the background color should be transparent again OR i want a table with permanent transparent color like this site …

Member Avatar for twiss
0
267
Member Avatar for GAME

Hi. I am using Mailinator.com and I need to click on a subject called "COMPUTER BILD SPIELE-Aktion: Avatar-Hubs". Basically I just get the part of the link and input it into my web browser called webBrowser1 and retrieve the text... The html looks like this: [code]<table id="inboxList"> <tbody><tr> <th width="180">From:</th> …

Member Avatar for GAME
0
118
Member Avatar for dan4domination

Hi, I was just wondering what technlogies I would need and how i would go about doing it in order to create the following system: An mobile information system to provide customers with cinema information. Features: -Changes to the cinema times sent via text -Cancellations of showings sent via text …

0
63
Member Avatar for lochnessmonster

WriteProcessMemory(processHandle, address, name.c_str(),sizeof(name.c_str()),NULL) | | is this third argument valid for this function? if not how would i make my std::string return the start address of a c string??

Member Avatar for Narue
0
115
Member Avatar for ruthie264

Hi everyone, I am a complete newbie so please be gentle with me.If my question is silly and impossible please tell me I have followed a tutorial and made a slideshow on my webpage like the one here [url]http://demo.tutorialzine.com/2009/11/beautiful-apple-gallery-slideshow/demo.html[/url] I have used divs and same script. I am trying to …

0
72
Member Avatar for simpleonline123

<li><a href="register.php" rel="nofollow">Register</a></li> Driving me nuts..I'm trying to create forum type software but I can't seem to figure out how to programmically click on this link Any ideas? Tried by id and by tag but there isn't one for this...what is the work around for this? Thanks

Member Avatar for codeorder
0
120

The End.