Mobile app version of vmapp.org
Login or Join
Harper822

: Will echoing content from a simple XML loaded with PHP cause the page to show up in search results (SEO)? I want to know if I'm using PHP right to create search friendly content. I'd like

@Harper822

Posted in: #Php #Rss #Seo

I want to know if I'm using PHP right to create search friendly content. I'd like my images to start showing up in Google for my website, so I'm passing an RSS feed to PHP file using the simplexml_load_file command and writing content to the page with echos.

$rss = simplexml_load_file('~~RSSfeed~~');

foreach ($rss->channel->item as $item) {
echo '<li>'. $item->description .'</li>';
}


Will displaying a list of images and text (there's other formatting and divs that I didn't include) make this content show up in search results?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Harper822

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

Google, and any search engine, see the resulting page as served over HTTP. They have no idea how that page is generated server-side. The same as an entirely static page. So Google should see this content and providing you aren't blocking it with robots.txt, meta tags or HTTP response headers, etc then Google should index it.


Id like my images to start showing up in google


However, your question is a little confusing. If your on-page images previously did not show up in Google then there may be other problems.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme