Comments (13)
@neotrace thanks for your ticket. Indeed languages are currently not respected in the sitemap. I will try to add this feature asap but I've got alot to do these days.
from tgm_copyright.
We would be interested in sponsoring such a feature if this would speed up things. If you could give an estimate and timeframe I could talk to the client.
from tgm_copyright.
@neotrace you need 9 LTS support for the client too, or only the correct language in the sitemap?
from tgm_copyright.
We are currently still on 8 LTS and plans are to switch in 2020 at end of life. So no, we do not currently need it!
from tgm_copyright.
@neotrace Fixed and released to TER. Please notice that only real localized file references are used in the sitemap. If some content on the site is not translated and the content is configured to fallback to the default language, then their file references will not appear in the sitemap of other languages. Maybe I will handle this situation with a later release and I hope its enough for you at the moment.
This fix was done in some minutes but if you still feel happy to sponsor this, feel free: https://www.paypal.me/TollPaul
from tgm_copyright.
Sorry for the late feedback. Unfortunately that does not work for us since the client did not localize in the Filelist but used different images in the localized content elements.
At least now in the sitemap the mix of languages is gone for us but I only see with german URL's now. The other 5 languages are missing completely. I guess this is because this is our default language and we do not have localized file references. We will have to find another solution, which is a shame since in principal the sitemap looks excellent even with image:captiontags.
Let me know if I can help with testing if you do decide to go further at some point.
from tgm_copyright.
@neotrace the Filelist does not have to become translated. Its all about the references of other records.
Please open the Sitemap typeNum page with the related L parameter to see the images of other languages. Like: ?type=1458065166&L=1
from tgm_copyright.
I did also try the rootpage with index.php?id=151&type=1458065166&L=3 but then I get results from one of the other pagetrees/websites inside my sitemap. The language is handled correct now, everything is Italian since that is L=3 on both websites. But images from website B should not be in the sitemap for website A of course. These images are also only referenced on website B, I checked. And the extension template is also only included in website A.
No idea why these images show up. Can i somehow restrict the plugin to just rootpage 151 and below?
from tgm_copyright.
@neotrace please check out the Typoscript Constant Editor for the extension. There is a setting for this.
from tgm_copyright.
Of course, forgot about that since it was the first thing I did. Sorry. The problem is the correct rootline is defined, but I still see locations from 2 other rootlines in the sitemap. Only a few though, not all pages of those rootlines. They stand out since they have different domains. Any idea where this could be coming from?
from tgm_copyright.
@neotrace please check out some details of those records. Search for the sys_file_reference record in the datebase and checkout if the PID of those records is the same of their parent records. Maybe the records having a wrong PID which is located in the other rootline.
from tgm_copyright.
I'm afraid I don't understand what to search for exactly. I Have an example with two images from the other rootline appearing under a <loc>
of the other rootline in my sitemap but with the correct domain. Also note the mix of two languages for the images here still although I request type=1458065166&L=1, which should be only English:
<url>
<loc>https://www.wrongrootline_domain/en/news/news-detail-view/</loc>
<image:image>
<image:loc>
https://www.correctrootline_domain/fileadmin/img/header/header-small-3.jpg
</image:loc>
<image:title>Current topics.</image:title>
<image:caption>GROUP NEWS</image:caption>
</image:image>
<image:image>
<image:loc>
https://www.correctrootline_domain/fileadmin/img/header/header-small-3.jpg
</image:loc>
<image:title>Aktuelles.</image:title>
<image:caption>Neuigkeiten rund um die Gruppe</image:caption>
</image:image>
</url>
If I look at sys_file_reference both have the same pid which is the page listed under and this page is indeed in the wrong rootline. But the <loc>
is already in the wrong rootline.
I don't understand what you mean with the parent records. Which fields should I compare in which tables?
from tgm_copyright.
Now checkout the news record of this bad record. Hover the image and it will show you the sys_file_reference UID. Then check out this record in your database using phpmyadmin or adminer. Does this sys_file_reference record has the same PID like the news record?
from tgm_copyright.
Related Issues (20)
- composer support HOT 2
- [FEATURE] Add optional sorting by reference title
- Generated image sitemap returns images that are related to disabled/hidden tt_content records HOT 1
- Version for LTS 10 HOT 2
- Data truncated for column 'copyright' at row 1 HOT 1
- remove dependency to filemetadata? HOT 5
- Tag version in Packagist HOT 3
- Extension can not be loaded with composer HOT 2
- Sitemap invalid for Umlaut-Domain (IDN) HOT 1
- [BUG] Incorrect image paths in sitemap due to domain concatenate HOT 4
- [BUG] invalid sitemap urls on multi site instances HOT 6
- UnexpectedValueException if settings.displayDuplicateImages true - Version 3.1.1 and Typo3 10 HOT 2
- Info for the manual
- Featute: Only Picture information for the current page HOT 3
- [QUESTION] is it possible to output custom (image) fields created with ext:mask? HOT 1
- Selection option for the correct license type HOT 2
- Exclude images on pages with NOINDEX in XML image sitemap
- SQL Syntax Error in sys_file_reference Query HOT 1
- PHP Warning: Undefined array key "tgm_copyright"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tgm_copyright.