Forum Replies Created

Viewing 15 replies - 46 through 60 (of 64 total)
  • Thread Starter ciryaquen

    (@ciryaquen)

    Thanks macmanx!

    That worked.

    Yes, my test WP is in the “root” of my local host. The links2wp.php and header.php are in the same WP directory along with the text file.

    It doesn’t work. I put in the URL https://my-computer.local/wordpress/links2wp.php and absolutely nothing happens in WP. All I get is an error page.

    For such an otherwise elegant application, importing links into WordPress is extraordinarily difficult.

    Does anyone know what to do with the links2wp.php?

    It says “Run in directory with wp-blog-header.php and ‘links.txt’.” I put it in the root directory with the text file of links and navigated to it in a browser. It returns a 404 error page.

    What does “run it” mean?

    Thread Starter ciryaquen

    (@ciryaquen)

    I still can’t get any data from an OPML file of links to import into WordPress.

    Can a delimited text file be imported directly into the mySQL table using CocoaMySQL? If so, which WordPress table?

    I’ve also tried the instructions embedded in a script for importing links from this thread but can’t make it work.
    https://www.ads-software.com/support/topic/26713

    Is there a specification to follow for importing links?

    Thread Starter ciryaquen

    (@ciryaquen)

    Thanks for the reply and the info. The “>6mos is ver probably 1.2” rule of thumb will be helpful. As you probably guessed, I’m new to WordPress. ??

    Thank you for the link, jalenack. I’ll be trying out the plugin asap.

    Can someone post a link to the newest download please? I’ve only found the “alpha” version. (No doubt I’m getting something mixed up.)

    Thread Starter ciryaquen

    (@ciryaquen)

    Ooops. Yes, they show up under Presentation > Theme Editor. I was looking in the wrong place, wasn’t I?

    Thank you. Sorry to be such a confused newbie. But I am one. ??

    Thread Starter ciryaquen

    (@ciryaquen)

    Thank you macmanx!

    That worked perfectly.

    Can someone explain what to do with the script Kafkaesqui linked to?

    Sorry, newbie here. It went right over my head.

    Thread Starter ciryaquen

    (@ciryaquen)

    Still can’t get this import links from an OPML file to work.

    I found what I thought was the correct format to enter the links into the Outliner.
    <outline text="link name" type="link" url="some_url.html" />

    Then I found what appears to be OPML specifications to use. So my test link file was prepared like this
    https://www.opml.org/spec

    <?xml:stylesheet type="text/xsl" href="opml.xslt" version="1.0"?>
    <opml>
    <head>
    </head>
    <body>
    <outline text="CSS Creator" type="link" url="https://www.csscreator.com/" />
    <outline text="W3C CSS Validation Service" type="link" url="https://jigsaw.w3.org/css-validator/" />
    <outline text="W3C Markup Validation Service" type="link" url="https://validator.w3.org/detailed.html" />
    </body>
    </opml>

    which returns this error from WordPress

    Importing…
    XML error: no element found at line 1

    Inserted 0 links into category 1

    If I just export a list of links with none of the other elements, i.e. something like this
    <outline text="link name" type="link" url="some_url.html" />

    it tells me the same error.

    Shall I just give up now or am I missing something obvious? Neither of my browsers (Safari or Firefox) will export links as OPML.

    Thread Starter ciryaquen

    (@ciryaquen)

    Thanks! I think this might be all sorted out.

    Thread Starter ciryaquen

    (@ciryaquen)

    After a failed first attempt, I have finally installed WordPress on my PB for local testing. The only thing I did differently than the MacZealots article is sticking the WordPress folder in my ~home/sites/ folder.

    On my “live” blog I’ve enabled permalinks like this
    /%year%/%monthnum%/%day%/%post_id%/

    When I put that into the local copy it gave me this message

    “If your .htaccess was writable we could do this automatically, but it isna€?t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.”

    I’ve searched the forum, and all the UNIX stuff about setting up an htacess file and chmod etc. gives me the willies. I don’t want to mess any further with the OS innards right now. [Had to reinstall the whole OS last weekend! ?? ]

    Can I still use the local copy for testing or will the links get all SNAFUED? Any pointers I need to be careful of as I tweak the templates and CSS locally before moving them to the real hosted site?

    Thread Starter ciryaquen

    (@ciryaquen)

    I understand the OPML filetype is like rtf, or html. What I don’t get is how to markup the link data in the Outliner. Let me give an example or three. My experiments aren’t working.

    I opened up a blank Omni Outliner and input the following links, one per row, single column. Exported it as OPML file and imported it into WP. The entire “a href link” text was imported into the “name” field as text. It wasn’t a live or working link. The URI field in WP was blank.

    <a href="https://www.podcastalley.com/">PodcastAlley.com</A>
    <a href="https://www.digitalpodcast.com/">Digital Podcast Directory</A>

    The next OmniOultiner file was 2 columns. First column was “name” and the second was the URL, and 1 per row. The name was imported into the name field and the URLs vanished.

    PodcastAlley.com https://www.podcastalley.com/
    Digital Podcast Directory https://www.digitalpodcast.com/

    The 3rd OmniOutliner file was 1 column with the info each in a separate row, with an extra blank row between the 2 links.

    PodcastAlley.com
    https://www.podcastalley.com/

    Digital Podcast Directory
    https://www.digitalpodcast.com/

    Results were very odd. There were 5 links created in WP with the following in the “name” field.

    Digital Podcast Directory
    Digital Podcast Directory
    https://www.digitalpodcast.com/
    https://www.podcastalley.com
    PodcastAlley.com

    OmniOutliner can easily import a whole page of links. How to layout the link data before exporting it to OPML is the problem. Is it possible to organize the link data the way WP wants it? It will be far far easier to organize in OmniOutliner than cutting-and-pasting individual links into WP.

    Is the example given in that wikipedia article the format it expects?
    <%radio.macros.directoryFrame ("https://www.myserver.com/gems/myDirectory.opml", "https://www.myserver.com/gems/myDirectoryStylesheet.css")%>

    Would importing the links into Safari, exporting the bookmarksm and converting it to OPML work? Or am I stuck inputting lots of links manually?

    Thread Starter ciryaquen

    (@ciryaquen)

    Wow! that was a fast reply.

    Thank you! I’ve deleted those files.

Viewing 15 replies - 46 through 60 (of 64 total)