Download the PHP package se7enxweb/xrowmetadata without Composer

On this page you can find all versions of the php package se7enxweb/xrowmetadata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package xrowmetadata

Xrow Meta Data

Installation

After this the extension has been installed. You should be able to generate the sitemap using the runcronjobs.php script. See "xrowsitemap.ini" for more configuration options.

php runcronjobs.php sitemap;

php runcronjobs.php sitemap;

Running cronjob part 'sitemap'
Running extension/xrowmetadata/cronjobs/sitemap.php at: 14.10.2011 12:31
Generating Regular Sitemaps...

Generating Sitemap for Siteaccess XYZ 

Adding 578 nodes to the sitemap.
578 / 578 [+++++++++++++++++++++++++++++++++++++++++++++++++++++++++>] 100,00%

Sitemap var/storage/sitemap/XYZ/urlset_standard_XYZ.xml for siteaccess XYZ has been generated.

Completing extension/xrowmetadata/cronjobs/sitemap.php at: 14.10.2011 12:31
Elapsed time: 00:00:08

This will create a file for every siteaccess within your eZ Publish root directory. These files are usually named "sitemap_access.xml", but you can change that in the INI file.

Please ensure that your Apache rewrite rules permit access to the XML File. This can be done by adding the following line to your .htaccess or Apache configuration file:

RewriteRule ^sitemap[^/]*\.xml - [L]

Finally you need to attached the Metadatatype to some of your content classes and add the following code to you head of your HTML document.

{def $meta = metadata( $module_result.node_id ) } {if $meta} {if $meta.title}

{$meta.title|wash}
{/if}
{if $meta.keywords}
    <meta name="keywords" content="{$meta.keywords|implode(',')|wash}" />
{/if}
{if $meta.description}
    <meta name="description" content="{$meta.description|wash}" />
{/if}

{else}

{$site_title}
{foreach $site.meta as $key => $item }
<meta name="{$key|wash}" content="{$item|wash}" />
{/foreach}

{/if}

Register sitemap in robots.txt:

Option 1.) Add this to the end of the "robots.txt" file

Sitemap: http://www.example.com/sitemaps/index

Option 2.) Add this to the end of the ".htaccess" file

RewriteRule ^robots\.txt$ - [C]
RewriteRule .* http://%{HTTP_HOST}/sitemaps/robots [P]

RewriteRule ^sitemap\.xml$ - [C]
RewriteRule .* http://%{HTTP_HOST}/sitemaps/index [P]

Troubleshooting & support

Send email to service [at] xrow [dot] de


All versions of xrowmetadata with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package se7enxweb/xrowmetadata contains the following files

Loading the files please wait ....