Skip to content

Commit 735a6bc

Browse files
committed
update the docs
1 parent 59d0e73 commit 735a6bc

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

docs/laravel-4/basics.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,15 @@ Now run following terminal command from your Laravel 4 App root:
4343

4444
### Configuration
4545

46-
If you want to define a fixed protocol and domain you'll need to configure this package.
46+
Here's a quick overview of the options SEO Aggregator provides:
47+
48+
* Fix Protocol and Host
49+
50+
* Eloquent Model Field Settings
51+
52+
Have a look at the file src/config/config.php for more information.
53+
54+
#### How can I customize the Configuration?
4755

4856
Publish the configuration so you can make changes:
4957

docs/laravel-4/sitemap.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ accessed once needed.
3434
// Add the Collection with a URL Prefix (The prefix can be omitted)
3535
Sitemap::addCollection($collection, 'prefix');
3636

37-
You can do this anywhere in your App but be aware... The Eloquent Model must have a field called 'slug' and the
38-
'updated_at' field for this to work. If you run into trouble you could always do a foreach() with single Links
39-
thought...
37+
You can do this anywhere in your App but be aware... The Eloquent Model must have fields providing the data for the
38+
<loc>...</loc> and <lastmod>...</lastmod> tags. (Defaults are 'slug' and 'updated_at') You can set the field names in
39+
the configuration if your database schema differs from the defaults. If you run into trouble you could always do a
40+
foreach() with single Links thought...
4041

4142
#### Output will be something like this:
4243

0 commit comments

Comments
 (0)