max. Anzahl an Zeichen im Literaturverzeichnis für URL erweitern

%3CLINGO-SUB%20id%3D%22lingo-sub-2313895%22%20slang%3D%22de-DE%22%3EExpand%20the%20maximum%20number%20of%20characters%20in%20the%20bibliography%20for%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2313895%22%20slang%3D%22de-DE%22%3E%3CP%3EGood%20morning%20dear%20community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewith%20the%20following%20request%2C%20I%20have%20already%20contacted%20customer%20support.%3C%2FP%3E%3CP%3ECase%20number%201021895251%3C%2FP%3E%3CP%3EHowever%2C%20the%20solution%20provides%20a%20little%20understanding%20of%20VBA%20programming.%20I%20don't%20have%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWord%20offers%20the%20possibility%20to%20make%20bibliographies.%20Unfortunately%2C%20the%20maximum%20number%20of%20characters%20for%20the%20URL%20line%20in%20the%20Site%20source%20type%20is%20limited%20to%20a%20certain%20number.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20go%20into%20the%20.%20XSL%20files%20from%20the%20Bibliography%2FStyle%20folder%20expand%20the%20maximum%20number%20of%20characters%20for%20the%20URL%20line.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20is%20this%20parameter%20defined%20in%20the%20VBA%20code%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much%3C%2FP%3E%3CP%3EYours%20sincerely%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2314988%22%20slang%3D%22en-US%22%3ERe%3A%20max.%20Anzahl%20an%20Zeichen%20im%20Literaturverzeichnis%20f%C3%BCr%20URL%20erweitern%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2314988%22%20slang%3D%22en-US%22%3EAre%20you%20able%20to%20share%20the%20URL%20here%3F%20I%20would%20be%20happy%20to%20do%20some%20testing%20for%20you%20and%20see%20if%20I%20can%20find%20a%20solution.%20I%E2%80%99ve%20never%20encountered%20this%20and%20would%20like%20to%20duplicate%20the%20problem%20and%20work%20with%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2315250%22%20slang%3D%22de-DE%22%3ERe%3A%20increase%20the%20maximum%20number%20of%20characters%20in%20the%20bibliography%20for%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2315250%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1038301%22%20target%3D%22_blank%22%3E%40Rich89%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethats%20the%20original%20link%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.busch-jaeger.de%2Fproduktuebersicht%3Ftx_nlbjproducts_catalog%255Baction%255D%3Dshow%26amp%3Btx_nlbjproducts_catalog%255BcatBjeProdukt%255D%3D1236%26amp%3Btx_nlbjproducts_catalog%255BcatStdArtikel%255D%3D2406%26amp%3Btx_nlbjproducts_catalog%255Bcontroller%255D%3DCatStdArtikel%26amp%3BcHash%3D646380d899040b9a58f93e3a8d0999cf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.busch-jaeger.de%2Fproduktuebersicht%3Ftx_nlbjproducts_catalog%255Baction%255D%3Dshow%26amp%3Btx_nlbjproducts_catalog%255BcatBjeProduct%255D%3D1236%26amp%3Btx_nlbjproducts_catalog%255BcatStdArticle%255D%3D2406%26amp%3Btx_nlbjproducts_catalog%255Bcontroller%255D%3DCatStdArtikel%26amp%3BcHash%3D646380d899040b9a58f93e3a8d0999cf%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20that%20is%20the%20link%20that%20was%20cut%20from%20WORD%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.busch-jaeger.de%2Fproduktuebersicht%3Ftx_nlbjproducts_catalog%255Baction%255D%3Dshow%26amp%3Btx_nlbjproducts_catalog%255BcatBjeProdukt%255D%3D1236%26amp%3Btx_nlbjproducts_catalog%255BcatStdArtikel%255D%3D2406%26amp%3Btx_nlbjproducts_catalog%255Bcontroller%255D%3DCatStdArtikel%26amp%3BcHash%3D646380d89904%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.busch-jaeger.de%2Fproduktuebersicht%3Ftx_nlbjproducts_catalog%255Baction%255D%3Dshow%26amp%3Btx_nlbjproducts_catalog%255BcatBjeProduct%255D%3D1236%26amp%3Btx_nlbjproducts_catalog%255BcatStdArticle%255D%3D2406%26amp%3Btx_nlbjproducts_catalog%255Bcontroller%255D%3DCatStdArticle%26amp%3BcHash%3D646380d89904%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2317433%22%20slang%3D%22en-US%22%3ERe%3A%20max.%20Anzahl%20an%20Zeichen%20im%20Literaturverzeichnis%20f%C3%BCr%20URL%20erweitern%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2317433%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20sharing.%20This%20is%20an%20new%20issue%20to%20me%20that%20I've%20never%20encountered%20before.%20I%20did%20some%20searching%20for%20you%20off%20and%20on%20over%20the%20last%20few%20hours%2C%20and%20I've%20found%20that%20this%20is%20a%20known%20issue%20that%20comes%20up.%20The%20APA%20style%20guide%20appears%20to%20have%20specific%20examples%2Frules%20for%20handling%20situations%20like%20yours.%20%3CEM%3ESee%3C%2FEM%3E%20%3CA%20title%3D%22Shortened%20URLs%20in%20APA%20Style%20references%22%20href%3D%22https%3A%2F%2Fapastyle.apa.org%2Fblog%2Fshortened-urls%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ethis%20web%20page%20for%20example.%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20do%20not%20know%20what%20writing%20style%20guide%20you%20may%20be%20using.%26nbsp%3B%20The%20above%20link%20is%20for%20APA%20style.%26nbsp%3B%20I%20am%20most%20familiar%20with%20the%20Chicago%20Manual%20of%20Style.%26nbsp%3B%20CMOS%20%C2%A7%2014.10%20states%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E.%20.%20.%20shortened%20versions%20of%20a%20URL%20provided%20by%20third-party%20services%20(and%20intended%20primarily%20for%20use%20with%20social%20media)%20should%20never%20be%20used.%20Not%20only%20are%20such%20services%20prone%20to%20disappear%2C%20but%20the%20original%20URL%20identifies%20the%20domain%20name%20and%20other%20elements%20that%20may%20be%20important%20to%20the%20citation.%20Publishers%2C%20however%2C%20may%20choose%20to%20make%20an%20exception%20.%20.%20.%3C%2FBLOCKQUOTE%3E%3CP%3ESo%2C%20I%20would%20say%20maybe%20first%20check%20with%20whatever%20writing%20style%20guide%20you%20are%20applying%20because%20they%20may%20allow%20for%20you%20to%20use%20a%20URL%20shortening%20service%20or%20provide%20some%20other%20direction%20you%20can%20look%20in%20for%20a%20solution%20to%20your%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20that%20does%20not%20provide%20a%20solution%2C%20then%20the%20only%20idea%20that%20I%20have%20for%20you%20is%20to%20note%20which%20hyperlinks%20you%20need%20to%20come%20back%20and%20fix%20later%20and%20continue%20to%20add%20your%20sources%20like%20normal.%26nbsp%3B%20When%20you%20are%20done%2C%20build%20the%20bibliography.%26nbsp%3B%20After%20it%20is%20built%2C%20you%20can%20use%20the%20drop%20down%20in%20the%20content%20control%20to%20convert%20the%20bibliography%20to%20static%20text%20and%20then%20go%20back%20through%20and%20manually%20place%20the%20full%20URL(s)%20in%20where%20you%20need%20them%2C%20because%20now%20the%20bibliography%20will%20no%20longer%20be%20a%20field.%26nbsp%3B%20This%20may%20be%20inconvenient%2C%20but%20I%20think%20it%20may%20be%20the%20best%2Fmost%20practical%20solution.%26nbsp%3B%20I%20tested%20this%20using%20your%20URL%20and%20the%20URL%20worked%20and%20everything%20this%20way.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1042614%22%20target%3D%22_blank%22%3E%40Wackelkontakt%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2320676%22%20slang%3D%22de-DE%22%3ERe%3A%20increase%20the%20maximum%20number%20of%20characters%20in%20the%20bibliography%20for%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320676%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1038301%22%20target%3D%22_blank%22%3E%40Rich89%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20enclosed%20file%20from%20the%20Microsoft%20Bibliography%20Style%20folder%20sets%20the%20length%20of%20a%20URL.%3C%2FP%3E%3CP%3EIs%20it%20not%20possible%20to%20rewrite%20the%20file%20and%20thus%20increase%20the%20length%20of%20the%20URL%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Guten Tag liebe Community,

 

mit dem nachstehenden Anliegen habe ich mich bereits an den Kundensupport gewendet.

Fallnummer 1021895251

Jedoch legt die Lösung ein wenig Verständnis für VBA Programmierung voraus. Dies fehlt mir.

 

Word bietet die Möglichkeit Literaturverzeichnisse anzufertigen. Leider ist die maximale Anzahl an Zeichen für die Zeile URL im Quellentyp Website auf eine bestimmte Anzahl begrenzt. 

Ich möchte in den .XSL-Dateien aus dem Ordner Bibliography/Style die maximale Anzahl an Zeichen für die Zeile "URL" erweitern.

 

Wo ist dieser Parameter, im VBA-Code, definiert?

 

Vielen Dank 

Mit freundlichen Grüßen 

 

 

 

6 Replies
Are you able to share the URL here? I would be happy to do some testing for you and see if I can find a solution. I’ve never encountered this and would like to duplicate the problem and work with it.

Thank you for sharing. This is an new issue to me that I've never encountered before. I did some searching for you off and on over the last few hours, and I've found that this is a known issue that comes up. The APA style guide appears to have specific examples/rules for handling situations like yours. See this web page for example.

 

I do not know what writing style guide you may be using.  The above link is for APA style.  I am most familiar with the Chicago Manual of Style.  CMOS § 14.10 states:

 

. . . shortened versions of a URL provided by third-party services (and intended primarily for use with social media) should never be used. Not only are such services prone to disappear, but the original URL identifies the domain name and other elements that may be important to the citation. Publishers, however, may choose to make an exception . . .

So, I would say maybe first check with whatever writing style guide you are applying because they may allow for you to use a URL shortening service or provide some other direction you can look in for a solution to your problem.

 

If that does not provide a solution, then the only idea that I have for you is to note which hyperlinks you need to come back and fix later and continue to add your sources like normal.  When you are done, build the bibliography.  After it is built, you can use the drop down in the content control to convert the bibliography to static text and then go back through and manually place the full URL(s) in where you need them, because now the bibliography will no longer be a field.  This may be inconvenient, but I think it may be the best/most practical solution.  I tested this using your URL and the URL worked and everything this way.

@Wackelkontakt 

@Rich89 

In der beiliegenden Datei aus dem Ordner "Microsoft\Bibliography\Style" wird der Wert für die Länge eines URL festgelegt.

Kann man die Datei nicht umschreiben und somit die Länge der URL erhöhen?

My response to this needs to be prefaced with the fact that we are now getting into the coding of Microsoft Word. When it comes to working with xml, VBA, C languages, ect, I am very much a novice. Some of what I am about to say could be only partially correct.

I am reasonably sure that what you are trying to do cannot be done by editing xml. I apologize in advance if I am explaining something you already know by the way. Anyway, xml is a markup language, it is not a programming language. Looking through the xml style sheet you shared, for example, nothing in there is actually defining how long a string can be. What it appears to be doing is testing if a string is greater than zero, or if it is equal to zero. So, it's basically asking, "Does this field have text?"

The problem you are having is that the field itself only allows 255 characters. That is a problem in the source code of the software, not the xml style sheet of the document. I'm reasonably sure that the problem is being caused specifically by the type of string being allowed to be stored as input from the user of the bibliography source fields. That string type, in the source code itself, will only allow 255 characters.

I am not sure if this is something that could be fixed via VBA. But, even if it is, you are venturing far into impractical solutions now. Even if you found a macro that would change this for you, you'd need to change the file type to a macro-enabled one. This presents problems because, depending on where you plan to send this document, users you give the document to may have security setting that disable the macro. They may not even be allowed to open it at all.

Your best bet for a solution is to do what I suggested in an earlier reply. You could try to find a third-party bibliography plugin for Word. I am not sure if such things exist, but it wouldn't surprise me considering how frequently the problem of 255 character string limitations comes up when you search for it in relation to Word. Still, though, personally, I feel my above suggestion is your most practical way forward in this situation unless you can find a shortened URL that is approved by the site you are trying to cite.

@Rich89 

Ok, yes you´re right.

Thanks for help.