Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 26, 2016, 05:28:10 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: create shortlinks to urls in a folder from a txt file with the url list  (Read 8879 times)

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,564
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #50 on: September 03, 2015, 07:56:37 PM »
Hi Contro. The paths can contain spaces, that is not the issue.

YOU ARE RIGHT

Are you sure you have the correct path to the profile folder?
Yes. It's the given following your instructions
profile folder. about:support


My path has this format (the xi3je3ww.default part is the name of a folder not a file):
C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\xi3je3ww.default


Have you doublechecked that there is a file named bookmarks.html in the profile folder? (IIRC firefox writes to that file when the browser closes so you may have to close and restart Firefox in order for that file to appear.)
YES, There is a file called bookmarks.html in that folder.

If there is a bookmarks.html in the profile folder then perhaps there is some language dependent variation in syntax that trips up the script. Could you post a small snippet from that file, a few lines that shows an url or two would be enough.
May be. Don't forget at least once the script goes well and i obtain the output folder....


Another thing to check: perhaps there is a write permission issue. Test changing the output folder to something else e.g. C:\testfolder and see if that makes a difference.
Running to try. Must be something of the sort.
 :P

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,564
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #51 on: September 03, 2015, 08:00:35 PM »
Screenshot - 04_09_2015 , 1_59_14.pngcreate shortlinks to urls in a folder from a txt file with the url listIf there is a bookmarks.html in the profile folder then perhaps there is some language dependent variation in syntax that trips up the script. Could you post a small snippet from that file, a few lines that shows an url or two would be enough.   ...........................


I have obtain a screenshot and launch the bookmarks.html with the firefox browser and copy and paste :

Menú Marcadores

Eventos facebook por perfil
FRASEO PENDIENTE

Glosarios Técnicos
Terminología del ballet empezada con letra P
    Pequeñas definiciones de palabras que forman parte del mundo de la danza y sus movimientos comenzados en la inicial P, como el caso de las piruetas y los pas que existen nombrados bajo este término particular -que implican cambio de peso al moverse-.
Learning Center: Glossary of Terms: B

Grupos Consulta

Grupo Consultas A-D

Grupo consultas AutoIt y AutoHotkey

Autoit en Español (www.Autoit.es)
Startseite - AutoIt.de - Das deutsche AutoIt-Forum
    AutoIt ist eine leicht zu lernende Programiersprache. Besonders leicht lassen sich damit wiederkehrende Aufgaben unter Windows automatisieren.
Autoit Fanclub
    Nuovi utenti,Consigli allo staff & problemi,Comunicazioni dello staff,Programmazione - Autoit,Progetti,Programmi,Programmi - sezione AntiLamer,UDF
AutoIt
    AutoIt - Discuss anything about AutoIt in this forum
AutoIt Français • Page d’index
    Forum d'entraide pour le langage AutoIt v3
AutoIT Script Collection - Contributions Only - Application Installs - MSFN Forum
    Page 1 of 11 - AutoIT Script Collection - Contributions Only - posted in Application Installs: If you have a request, please make a new topic in the applications section.SUBMISSIONS ONLY - PM THE AUTHORS IF SOMETHING DOESNT WORKAny requests IN THIS THREAD will be DELETEDIf you want to submit a script, please do so in the following fashion:TitleScript version (if applicable)Other notesHere are some useful links for AutoIt(Thanks to NoLogic for this suggestion):AutoIt[AutoIt3]Editors[link][C...
AutoIt | Forum | BattleNerds

Grupo Consultas Autocad


I can edit in other ways if you wish.

 :-[

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 855
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #52 on: September 04, 2015, 04:42:03 AM »
One more thing to check: there can't be any other files (non .url files) in the output directory. The script should give an error message if there is. But you might want to double check that.

For me to see if anything in the bookmarks.html syntax is causing the problem you will have to open bookmarks.html in Notepad or similar text editor. Copy a snippet of the code there and posts it using the
code formatting

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,564
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #53 on: September 04, 2015, 11:03:23 AM »
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Menú Marcadores</H1>

<DL><p>
    <HR>    <HR>    <DT><A HREF="https://www.facebook.com/events/list" ADD_DATE="1392422379" LAST_MODIFIED="1392976674" ICON_URI="https://fbstatic-a.akamaihd.net/rsrc.php/yl/r/H3nktOa7ZMg.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAl0lEQVQ4jWNgoAYw86k/bOXX9J8UbOZTfxhugEvs7P8eSYtJwi6xs//DDcCnMCx31f9j5x79//X7z//3H7//v3H3NVyOKAP2n7j3Hx2QZMDXbz///////39+3RK4/0kyAAZcYmdhyOE1ABd4/PwjZQYsWXecOANg/oUBGN8hYhJ5YYBNbjgZ4BK/4DCpBrjFLzxCZF7FDwAGzvrijJjlXgAAAABJRU5ErkJggg==" LAST_CHARSET="UTF-8">Eventos facebook por perfil</A>
    <HR>    <DT><H3 ADD_DATE="1375476433" LAST_MODIFIED="1393804405">FRASEO PENDIENTE</H3>
    <DL><p>
        <DT><A HREF="http://www.miliarium.com/bibliografia/Glosarios.asp" ADD_DATE="1375476433" LAST_MODIFIED="1375476433">Glosarios Técnicos</A>
        <DT><A HREF="http://www.danzavirtual.com/palabras-de-danza-con-p/" ADD_DATE="1393510480" LAST_MODIFIED="1393510480" ICON_UR
« Last Edit: September 04, 2015, 06:59:15 PM by Contro, Reason: Sorry i have to edit because i forgot to deleted some misterious and dangerous web sites not recommended to the default mortals. Best Regards »

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,564
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #54 on: September 04, 2015, 11:12:45 AM »
        </DL><p>
        <DT><H3 ADD_DATE="1361745827" LAST_MODIFIED="1440604553">Bancos e inversiones</H3>
        <DL><p>
 
         ADD_DATE="1361745827" LAST_MODIFIED="1361745828">Yahoo! Internet y computadorasInternetWorld Wide WebCharlas</A>
        </DL><p>
    </DL><p>
    <DT><H3 ADD_DATE="1396543570" LAST_MODIFIED="1430673610" PERSONAL_TOOLBAR_FOLDER="true">Barra de herramientas de marcadores</H3>
    <DL><p>
        <HR>    </DL><p>
</DL>

final part of the bookmarks.html
 :-*
« Last Edit: September 04, 2015, 06:57:17 PM by Contro, Reason: edit because i forgot to delete my passwords in my investments and bank accounts . Sorry »

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 855
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #55 on: September 04, 2015, 01:21:36 PM »
Ok, I found the problem. Or several problems really. FFBookmarkUnpacker failed on nested subfolders, separator lines and in case a bookmark without a folder was first in the bookmarks.html file. A bit embarassing but in my defence I made it a long time ago mostly for my own use. Anyway, I fixed the issues and put up an updated version that should fix those problems, http://nod5.dcmember...ookmarkunpacker.html . Let me know if it works.

BTW you can now edit your previous posts above and remove the bookmarks.html snippets if you want to for privacy.

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,564
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #56 on: September 04, 2015, 06:49:28 PM »
Ok, I found the problem. Or several problems really. FFBookmarkUnpacker failed on nested subfolders, separator lines and in case a bookmark without a folder was first in the bookmarks.html file. A bit embarassing but in my defence I made it a long time ago mostly for my own use. Anyway, I fixed the issues and put up an updated version that should fix those problems, http://nod5.dcmember...ookmarkunpacker.html . Let me know if it works.

BTW you can now edit your previous posts above and remove the bookmarks.html snippets if you want to for privacy.
Simply you are great.
Then when goes well the first time i had the bookmarks in the good way for ffbookmarkunpacker.
And now i will have well the bookmarks for the new version of ffbookmarkunpacker.

Running to try.
 :P :-*

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,564
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #57 on: September 05, 2015, 04:05:47 PM »
Trying and running !!!!!!
I waited to reinitiate the system just because i had followed your advice and put as resident ffbookmarkunpack
And the program runs wonderfully !!!!!

Best Regards
 :-*

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 855
    • View Profile
    • Donate to Member
Re: create shortlinks to urls in a folder from a txt file with the url list
« Reply #58 on: September 08, 2015, 03:16:32 PM »
Great that it worked out.

Just a reminder: remember that FFBookmarkUnpacker every time it runs first clears the output folder before unpacking all bookmarks from Firefox to it, so that the folder only contains the same bookmarks as Firefox has. So don't manually put any other files in that folder. (FFBookmarkUnpacker does check if there are any non .url files there and in that case doesn't clear the folder but instead gives an errormessage. But if a user has manually put .url files in the output folder then those will be cleared.)