<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Errori con dati strutturati hentry]]></title><description><![CDATA[<p dir="auto">Salve,<br />
ammetto già colpevolmente di non essermi finora allenato molto sui dati strutturati...<br />
Comunque, in un sito realizzato in WP, GWT mi segnala molti errori in diverse pagine, del tipo:</p>
<p dir="auto">"Dati strutturati &gt; hentry (Markup: microformats . org)</p>
<p dir="auto">Manca: author<br />
Manca: entry-title<br />
Manca: update"</p>
<p dir="auto">Mi sono studiato un po' il discorso sui dati strutturati ed ho provato 2 plugin per WP che facilitano il loro inserimento.<br />
Tuttavia, entrambi questi plugin visualizzano in frontend i microdata e non è quello che voglio.<br />
Conoscete qualche altro plugin o sistema per inserire i dati strutturati, ma in modo che non siano visualizzati nella pagina/articolo?</p>
<p dir="auto">(oppure: posso ignorare quegli avvisi di errore...?)</p>
<p dir="auto">Grazie.<br />
Hikari</p>
]]></description><link>https://dev.connect.gt/topic/199066/errori-con-dati-strutturati-hentry</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 18:59:09 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/199066.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Feb 2014 10:25:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Mon, 28 Jul 2014 13:50:34 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Juanin.<br />
Forse ho capito dove andare a lavorare ma ti chiedo conferma.</p>
<p dir="auto">Ecco il codice della pagina template che crea la visualizzazione del singolo l'articolo.<br />
Grazie ancora.</p>
<p dir="auto">&lt;?php<br />
/<strong><strong><strong><strong><strong><strong><strong><strong><strong>/<br />
/</strong>  Single Post<br />
/</strong></strong></strong></strong></strong></strong></strong></strong>**/</p>
<p dir="auto">get_header();<br />
?&gt;<br />
&lt;section class="container page-content" &gt;<br />
&lt;hr class="vertical-space2"&gt;<br />
&lt;?php<br />
if( 'left' == $webnus_options-&gt;webnus_blog_singlepost_sidebar() <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title="):" alt="😞" /><br />
get_sidebar('bleft');<br />
endif;<br />
?&gt;<br />
&lt;div class="col-md-2"&gt;&lt;/div&gt;<br />
&lt;section class="col-md-8 omega"&gt;<br />
&lt;?php if( have_posts() <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title="):" alt="😞" /> while( have_posts() <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title="):" alt="😞" /> the_post();  ?&gt;<br />
&lt;article class="blog-single-post"&gt;<br />
&lt;?php<br />
GLOBAL $webnus_options;</p>
<pre><code>	$post_format = get_post_format(get_the_ID());

	$content = get_the_content();
		
		
if(  $webnus_options-&gt;webnus_blog_sinlge_featuredimage_enable() ){

	global $featured_video;
	
	$meta_video = $featured_video-&gt;the_meta();
	
	if( 'video'  == $post_format || 'audio'  == $post_format)
	{
		
	$pattern =
	  '\\['                              // Opening bracket
	. '(\\[?)'                           // 1: Optional second opening bracket for escaping shortcodes: [[tag]]
	. "(video|audio)"                     // 2: Shortcode name
	. '(?![\\w-])'                       // Not followed by word character or hyphen
	. '('                                // 3: Unroll the loop: Inside the opening shortcode tag
	.     '[^\\]\\/]*'                   // Not a closing bracket or forward slash
	.     '(?:'
	.         '\\/(?!\\])'               // A forward slash not followed by a closing bracket
	.         '[^\\]\\/]*'               // Not a closing bracket or forward slash
	.     ')*?'
	. ')'
	. '(?:'
	.     '(\\/)'                        // 4: Self closing tag ...
	.     '\\]'                          // ... and closing bracket
	. '|'
	.     '\\]'                          // Closing bracket
	.     '(?:'
	.         '('                        // 5: Unroll the loop: Optionally, anything between the opening and closing shortcode tags
	.             '[^\\[]*+'             // Not an opening bracket
	.             '(?:'
	.                 '\\[(?!\\/\\2\\])' // An opening bracket not followed by the closing shortcode tag
	.                 '[^\\[]*+'         // Not an opening bracket
	.             ')*+'
	.         ')'
	.         '\\[\\/\\2\\]'             // Closing shortcode tag
	.     ')?'
	. ')'
	. '(\\]?)';  			
	
		
		preg_match('/'.$pattern.'/s', $post-&gt;post_content, $matches);
		
		
		if( (is_array($matches)) &amp;&amp; (isset($matches[3])) &amp;&amp; ( ($matches[2] == 'video') || ('audio'  == $post_format)) &amp;&amp; (isset($matches[2])))
		{
			$video = $matches[0];
			
			echo do_shortcode($video);
			
			$content = preg_replace('/'.$pattern.'/s', '', $content);
			
		}else				
		if( (!empty( $meta_video )) &amp;&amp; (!empty($meta_video['the_post_video'])) )
		{
			echo do_shortcode($meta_video['the_post_video']);
		}
			

		
		
	}else
	if( 'gallery'  == $post_format)
	{
		
					
		$pattern =
	  '\\['                              // Opening bracket
	. '(\\[?)'                           // 1: Optional second opening bracket for escaping shortcodes: [[tag]]
	. "(gallery)"                     // 2: Shortcode name
	. '(?![\\w-])'                       // Not followed by word character or hyphen
	. '('                                // 3: Unroll the loop: Inside the opening shortcode tag
	.     '[^\\]\\/]*'                   // Not a closing bracket or forward slash
	.     '(?:'
	.         '\\/(?!\\])'               // A forward slash not followed by a closing bracket
	.         '[^\\]\\/]*'               // Not a closing bracket or forward slash
	.     ')*?'
	. ')'
	. '(?:'
	.     '(\\/)'                        // 4: Self closing tag ...
	.     '\\]'                          // ... and closing bracket
	. '|'
	.     '\\]'                          // Closing bracket
	.     '(?:'
	.         '('                        // 5: Unroll the loop: Optionally, anything between the opening and closing shortcode tags
	.             '[^\\[]*+'             // Not an opening bracket
	.             '(?:'
	.                 '\\[(?!\\/\\2\\])' // An opening bracket not followed by the closing shortcode tag
	.                 '[^\\[]*+'         // Not an opening bracket
	.             ')*+'
	.         ')'
	.         '\\[\\/\\2\\]'             // Closing shortcode tag
	.     ')?'
	. ')'
	. '(\\]?)';  			


		preg_match('/'.$pattern.'/s', $post-&gt;post_content, $matches);
		
		
		if( (is_array($matches)) &amp;&amp; (isset($matches[3])) &amp;&amp; ($matches[2] == 'gallery') &amp;&amp; (isset($matches[2])))
		{
			
			$atts = shortcode_parse_atts($matches[3]);
			
			$ids = $gallery_type = '';
			
			if(isset($atts['ids']))
			{
				$ids = $atts['ids'];
			}
			if(isset($atts['webnus_gallery_type']))
			{
				$gallery_type = $atts['webnus_gallery_type'];
			}


				echo do_shortcode('[vc_gallery img_size= "full" type="flexslider_fade" interval="3" images="'.$ids.'" onclick="link_image" custom_links_target="_self"]');
			
			$content = preg_replace('/'.$pattern.'/s', '', $content);
		}
			

		
		
	}else
	if( (!empty( $meta_video )) &amp;&amp; (!empty($meta_video['the_post_video'])) )
	{
		echo do_shortcode($meta_video['the_post_video']);
	}
	else
		get_the_image( array( 'meta_key' =&gt; array( 'Full', 'Full' ), 'size' =&gt; 'Full' ) ); 
}
		
	?&gt;


  &lt;?php 
	  ?&gt;
    &lt;div &lt;?php post_class('post'); ?&gt;&gt;
		&lt;h1&gt;&lt;span class="entry-title"&gt;&lt;?php the_title() ?&gt;&lt;/span&gt;&lt;/h1&gt;
      &lt;?php if( $webnus_options-&gt;webnus_blog_metadata_enable() ){  ?&gt;
      &lt;div class="postmetadata"&gt;
        &lt;h6 class="blog-author"&gt;Pubblicato &lt;span class="updated"&gt;&lt;?php the_time('l d F Y') ?&gt;&lt;/span&gt; in &lt;?php the_category(', ') ?&gt; &lt;/h6&gt;
      &lt;/div&gt;
      &lt;?php } ?&gt;
      
	
		&lt;?php 
		
		if( 'quote' == $post_format  ) echo '&lt;blockquote&gt;';
		echo apply_filters('the_content',$content); 
		if( 'quote' == $post_format  ) echo '&lt;/blockquote&gt;';
		
		?&gt;
	 
      &lt;br class="clear"&gt;
		&lt;!--&lt;div class="post-tags"&gt;
		   &lt;i class="icomoon-tags"&gt;&lt;/i&gt; : &amp;nbsp; &lt;?php the_tags(); ?&gt;
		&lt;/div&gt;&lt;!-- End Tags --&gt;
		 
		 &lt;div class="next-prev-posts"&gt;
		 &lt;?php $args = array(
				'before'           =&gt; '',
				'after'            =&gt; '',
				'link_before'      =&gt; '',
				'link_after'       =&gt; '',
				'next_or_number'   =&gt; 'next',
				'nextpagelink'     =&gt; __('&amp;nbsp;&amp;nbsp; Next Page','WEBNUS_TEXT_DOMAIN'),
				'previouspagelink' =&gt; __('Previous Page&amp;nbsp;&amp;nbsp;','WEBNUS_TEXT_DOMAIN'),
				'pagelink'         =&gt; '%',
				'echo'             =&gt; 1
			); 
			
			 wp_link_pages($args);
		
			 
			?&gt;
		  
		 &lt;/div&gt;&lt;!-- End next-prev post --&gt;
	
     &lt;?php if( $webnus_options-&gt;webnus_blog_author_enable() ) { ?&gt;
     &lt;div class="about-author-sec"&gt;		  

	  &lt;?php echo get_avatar( get_the_author_meta( 'user_email' ), 90 ); ?&gt;
	  &lt;h5&gt;&lt;span class="vcard author"&gt;&lt;?php the_author(); ?&gt;&lt;/span&gt;&lt;/h5&gt;
	   &lt;p&gt;&lt;?php echo get_the_author_meta( 'description' ); ?&gt;&lt;/p&gt;
	  


	  
	  &lt;/div&gt;
	  &lt;?php  } ?&gt;
    &lt;/div&gt;
	&lt;?php 
	
	  ?&gt;
	
  &lt;/article&gt;
  &lt;?php 
   endwhile;
	 endif;
  //comments_template(); 
  ?&gt;
&lt;/section&gt;
&lt;!-- end-main-conten --&gt;

&lt;div class="white-space"&gt;&lt;/div&gt;
</code></pre>
<p dir="auto">&lt;/section&gt;<br />
&lt;?php<br />
get_footer();<br />
?&gt;</p>
]]></description><link>https://dev.connect.gt/post/1152838</link><guid isPermaLink="true">https://dev.connect.gt/post/1152838</guid><dc:creator><![CDATA[feno25]]></dc:creator><pubDate>Mon, 28 Jul 2014 13:50:34 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Sun, 27 Jul 2014 14:06:03 GMT]]></title><description><![CDATA[<p dir="auto">Il template di pagina dove ti tornano gli errori.</p>
]]></description><link>https://dev.connect.gt/post/1152826</link><guid isPermaLink="true">https://dev.connect.gt/post/1152826</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Sun, 27 Jul 2014 14:06:03 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Sat, 26 Jul 2014 21:50:11 GMT]]></title><description><![CDATA[<p dir="auto">ok, se posso lo condivido (avrei bisogno di capire quale porzione di codice) altrimenti grazie comunque.</p>
]]></description><link>https://dev.connect.gt/post/1152836</link><guid isPermaLink="true">https://dev.connect.gt/post/1152836</guid><dc:creator><![CDATA[feno25]]></dc:creator><pubDate>Sat, 26 Jul 2014 21:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Sat, 26 Jul 2014 11:53:04 GMT]]></title><description><![CDATA[<p dir="auto">Beh dipende molto dal tuo tema.<br />
Ogni tema è diverso quindi dovresti condividere il codice.</p>
]]></description><link>https://dev.connect.gt/post/1152831</link><guid isPermaLink="true">https://dev.connect.gt/post/1152831</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Sat, 26 Jul 2014 11:53:04 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Thu, 24 Jul 2014 08:06:53 GMT]]></title><description><![CDATA[<p dir="auto">grazie della risposta Juanin.<br />
Putroppo non capisco molto bene dove posso lavorare al codice. Mi potresti dare una dritta?<br />
Grazie mille.</p>
]]></description><link>https://dev.connect.gt/post/1152834</link><guid isPermaLink="true">https://dev.connect.gt/post/1152834</guid><dc:creator><![CDATA[feno25]]></dc:creator><pubDate>Thu, 24 Jul 2014 08:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Thu, 24 Jul 2014 06:16:57 GMT]]></title><description><![CDATA[<p dir="auto">Se non vuoi usare plugin devi modificare il tema che usi.</p>
]]></description><link>https://dev.connect.gt/post/1152829</link><guid isPermaLink="true">https://dev.connect.gt/post/1152829</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Thu, 24 Jul 2014 06:16:57 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Wed, 23 Jul 2014 22:57:43 GMT]]></title><description><![CDATA[<p dir="auto">Chiedo scusa se riapro questa discussione.<br />
Nonostante non sia importante ai fini di posizionamento, avendo comunque lo stesso problema vorrei risolverlo e se possibile senza l'ausilio di plugin visto che si tratta di un sito wordpress.<br />
Grazie a chi potrà darmi una mano...</p>
]]></description><link>https://dev.connect.gt/post/1152835</link><guid isPermaLink="true">https://dev.connect.gt/post/1152835</guid><dc:creator><![CDATA[feno25]]></dc:creator><pubDate>Wed, 23 Jul 2014 22:57:43 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Tue, 11 Feb 2014 14:34:07 GMT]]></title><description><![CDATA[<p dir="auto">Grazie, un plugin in meno...:)<br />
H.</p>
]]></description><link>https://dev.connect.gt/post/1152832</link><guid isPermaLink="true">https://dev.connect.gt/post/1152832</guid><dc:creator><![CDATA[hikari]]></dc:creator><pubDate>Tue, 11 Feb 2014 14:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Tue, 11 Feb 2014 14:19:51 GMT]]></title><description><![CDATA[<p dir="auto">Non è grave.</p>
]]></description><link>https://dev.connect.gt/post/1152828</link><guid isPermaLink="true">https://dev.connect.gt/post/1152828</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Tue, 11 Feb 2014 14:19:51 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Tue, 11 Feb 2014 13:05:44 GMT]]></title><description><![CDATA[<p dir="auto">...mi sta succedendo con diversi siti e diversi temi.<br />
Le domande sarebbero:</p>
<ol>
<li>è grave ai fini del posizionamento?</li>
<li>se sì, come risolvere (plugin?)<br />
Grazie!<br />
Hikari</li>
</ol>
]]></description><link>https://dev.connect.gt/post/1152830</link><guid isPermaLink="true">https://dev.connect.gt/post/1152830</guid><dc:creator><![CDATA[hikari]]></dc:creator><pubDate>Tue, 11 Feb 2014 13:05:44 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Sun, 09 Feb 2014 20:00:00 GMT]]></title><description><![CDATA[<p dir="auto">Ciao bikari</p>
<p dir="auto">ti ho spostato nella sezione più indicata.</p>
]]></description><link>https://dev.connect.gt/post/1152833</link><guid isPermaLink="true">https://dev.connect.gt/post/1152833</guid><dc:creator><![CDATA[lorenzosa]]></dc:creator><pubDate>Sun, 09 Feb 2014 20:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to Errori con dati strutturati hentry on Sun, 09 Feb 2014 10:28:15 GMT]]></title><description><![CDATA[<p dir="auto">Solitamente in Wordpress quei valori vengono messi di default a meno che il tuo tema abbia escluso le particolari classi.</p>
]]></description><link>https://dev.connect.gt/post/1152827</link><guid isPermaLink="true">https://dev.connect.gt/post/1152827</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Sun, 09 Feb 2014 10:28:15 GMT</pubDate></item></channel></rss>