Free Online
Sitemap Generator
Unlimited
Sitemap Generator
About Sitemaps
Broken Links
Forum
Testimonials
Tools
Contact
Advanced search
Sitemap Generator Forum
November 19, 2008, 10:04:34 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Sitemap software 2.9 released
- Email notifications, html sitemap customizing and more
8253
Posts in
2037
Topics by
Members
Latest Member:
kubota.tyson
Sitemap Generator Forum
>
XML Sitemaps Discussions Category
>
Unlimited PHP Sitemap Generator
>
Do not parse extensions
Pages: [
1
]
« previous
next »
Print
Author
Topic: Do not parse extensions (Read 5233 times)
steve15
Registered Customer
Newbie
Posts: 3
Do not parse extensions
«
on:
May 17, 2007, 03:57:31 PM »
This is a nice feature. I have some pdf that I just want to show the file name. Is there a way to just show the file name with out the path? I can't show people the full path. I know you don't allow reverse engineering but I just need to make a small change and add the functionality of basename($path, ".pdf"); so [external links are visible to admins only] shows up as somefile.pdf in the html sitemap
Help?
Logged
steve15
Registered Customer
Newbie
Posts: 3
Re: Do not parse extensions
«
Reply #1 on:
May 17, 2007, 06:06:33 PM »
Just to clarify this a bit:
In the HTML sitemap, because pdf's are listed in my configuration for 'Do Not Parse Extensions', the full path is showing up in the html sitemap:
/downloads 10 files
[external links are visible to admins only]
[external links are visible to admins only]
[external links are visible to admins only]
[external links are visible to admins only]
How do I do this:
/downloads 10 files
download1.pdf
download2.pdf
download3.pdf
download4.pdf
I have tried editing the tpl file to add the functionality bu because of the way is is calling the functions it will not work. The template is calling the variable like this:
<TVAR title>
What I essentially need is:
basename(<TVAR title>);
or
<TVAR basename(title)>
But both of those methods would be very sloppy and probably not work. I need to edit the TVAR function and add a new variable like 'basetitle'. So I could add:
<TVAR basetitle>
This would be an easy change normally but you don't want any reverse (base64_decode) engineering. Unfortunately, The full path is very messy looking and the script will not work unless this small change can be made. Please let me know what to do.
Logged
admin
Administrator
Hero Member
Posts: 3465
Re: Do not parse extensions
«
Reply #2 on:
May 19, 2007, 12:28:33 AM »
Hello,
please install Sitemap Generator 2.5.3 - it should work as you described.
Logged
Oleg Ignatiuk
http://www.xml-sitemaps.com
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
XML Sitemaps Discussions Category
-----------------------------
=> Unlimited PHP Sitemap Generator
=> Bug reporting for Standalone Sitemap Generator
=> Free Online Sitemaps Generator
=> Site maps - General Discussion
Loading...