Forum Replies Created

Viewing 15 replies - 16 through 30 (of 34 total)
  • Thread Starter Ellsinore

    (@ellsinore)

    If I switched the attachments to β€œAtt.” Categories and Tags, this wouldn’t be necessary?

    Oops! Never mind. That created a whole new laundry list of troubles. πŸ˜€

    Thread Starter Ellsinore

    (@ellsinore)

    Hi, David!

    It would be straightforward to write some PHP code to hook the mapping rules and perform this function. Would that be an acceptable solution?

    If I switched the attachments to “Att.” Categories and Tags, this wouldn’t be necessary?

    Kris

    Thread Starter Ellsinore

    (@ellsinore)

    Hi, David!

    Try replacing your tax_operator=AND parameter with tax_relation=AND. That parameter means that items must match the terms named in both of the taxonomy parameters.

    That was it! I get it now. Thanks!

    It would be straightforward to write some PHP code to hook the mapping rules and perform this function. Would that be an acceptable solution?

    That would be awesome, as my goal has been to automate the upload process as much as possible. With the exception of that one thing — going in to the media library to click the “Research Log” box — it’s totally working! πŸ™‚

    Thanks, David!

    Thread Starter Ellsinore

    (@ellsinore)

    Realized I neglected to include the link: Media Library.

    Also, I’ve been trying to get a handle on the “Research Log” category failing to show any attachments when clicked.

    On import (PDFs), if for the Categories field I have parent as “Research Log” the category children are checked, such as “Documents” but the parent category “Research Log” is not. (And, as a side note, do you know how I can automate this so that it is checked?)

    If for the Categories field I have parent set as “None” new categories are created outside the parent Research Log category, which I think would be the expected behavior but isn’t what I want. I tried it to see what would happen. πŸ™‚

    Thanks!

    Thread Starter Ellsinore

    (@ellsinore)

    Found it! πŸ™‚

    Thread Starter Ellsinore

    (@ellsinore)

    Oops — that didn’t work.

    
    <a class=\'title-link\' href=\'{+file_url+}\' target=\'_blank\'>{+caption+}</a>
    
    
    Thread Starter Ellsinore

    (@ellsinore)

    Hi, David!

    (I know you been missin’ me! :-D)

    I’ve been working feverishly to get my page in good order before I have to go out this afternoon. So, I didn’t see your above comment until I logged in, and won’t get a chance to look at those links until I get back. THANK YOU for the clue about the spaces in the property names. I haven’t had any trouble with them that I know of, so far, but no sense in poking the tiger, yes? So I’ll take care of that when I get back.

    FYI for any other old people out there: I discovered (as you probably already knew) most of my troubles were the result of operator error and trying to read itty bitty tiny letters. At one point today, a field wouldn’t work. After I copied/pasted the code into my text editor, I could see that the problem was a fancy apostrophe that wasn’t supposed to be there, fancy or not. Trying to edit that in the “EXIF/Template Value” field, I thought it was dust on my monitor. πŸ˜€

    After I could actually *read* the stuff, I made a ton of progress all by my own self! πŸ˜€

    I think I only have one more thing, which is likely addressed in the above links you provided. Just in case —

    For testing purposes, I have two links for each Media Library item on the page. The icon link goes to the attachment page and the bold title links to the file.

    As you can see for the attachment page, and as expected, the category and tag links result in the “not found” error when clicked. I did check other possible solutions that I found in the forum for this problem, but I don’t *think* they will fix this? I will check on that more when I get back, though.

    Oh — yes — my server doesn’t have the required goodies for WP to generate thumbnails. For the PDFs, I’d be happy with just a generic PDF/Document kind of image, so it doesn’t look weird if I use thumbnails for the images, the but PDFs don’t have one. I’ve removed size-icon from my page so you can see what I mean. Setting the “featured image” for the PDF John Pace Marriages did the trick, but I can’t figure out how to automatically set that on import.

    I really appreciate all the hard work that went in to your plugin. This is going to reduce the time spent messing with my sources by a HUGE percentage! While working through this project, it’s also helped me to standardize my documentation — which was the whole point in the first place. πŸ™‚

    Thanks, David!

    Thread Starter Ellsinore

    (@ellsinore)

    Hi, David!

    β€œI can’t figure out how to get the parentheses to print.”

    I tried everything I could think of, but TWO backslash characters wasn’t one of them. Of course, it’s working. Thanks!

    β€œI’m getting the expected β€œ404” error when trying to use the tags as links.”

    The tags and categories are showing up as links on the attachment page, as they should. But clicking on them results in a 404 page not found error. I found the discussion about it here:

    Problem with permalinks, which I think is related, but I haven’t had a chance to follow up on that yet. Looks like this is probably the last one I need to tackle.

    β€œthe tags are separated with semicolons (;).”

    DOH! Working now, thanks! πŸ™‚

    β€œSince I didn’t have enough fields in the standard PDF metadata”

    This is working now, too, but FYI here’s the PDF:

    John Page Marriages (1801-1802)

    When you pull up the Document Properties, under the Custom tab, you can see my custom entry to add Category metadata for the import. After many failed attempted, it’s working this morning. πŸ™‚

    Thank you for all the help!

    Kris

    Thread Starter Ellsinore

    (@ellsinore)

    Thanks David! I guess, among other things, I’ll have to put learning to read again on my to-do list. πŸ™‚

    Thread Starter Ellsinore

    (@ellsinore)

    Hi, David!

    I have a couple more questions:

    (1) Now that I’m using the correct “template” code (thanks!!) I can’t figure out how to get the parentheses to print. For the file size, I want it enclosed to set it apart: (163.757 KB). I’ve tried escaping a second set of parens, but that’s about it.

    (2) I’m getting the expected “404” error when trying to use the tags as links. They show up fine as tags, the links just don’t work. I found your previous post links about the WP limitations on Media stuff, and will be grinding through that soon enough.

    These I don’t know if you can help me with, but maybe you’ve come across them before:

    I’m using these entries for mapping:

    Category: template:([+pdf:Categories,array+]|[+exif:Keywords,array+])
    Tags: template:([+pdf:Keywords,array+]|[+exif:Artist,array+])

    and Priority: EXIF, Existing Text: Replace

    (2) In an attempt to make the process completely automated, I’m trying to process the keywords as tags on import. I *did* find the information to do this for both JPGES and PDFs (yay!).

    For the images, by default the tags are separated with semicolons (;). When I leave it this way, it doesn’t separate the array, the tag is imported as “Postcard;Private” literally. If I separate them with commas, they aren’t imported at all. Perhaps a limitation of using Windows Explorer to edit the metadata?

    (3) Since I didn’t have enough fields in the standard PDF metadata, I got tricky and created a custom field in the PDF: Categories. Unfortunately, not only doesn’t this get exported, it prevents the “Keywords” from being exported as well — pretty much messing up everything I’ve accomplished so far. πŸ™‚

    Since it’s still early, and I’m working from just a few PDFs and JPEGs to edit the metadata and testing it, it’s a small matter to switch gears at this point.

    Perhaps just using tags or just using categories is the way to go? Any suggestions would be appreciated.

    Thanks!

    Kris

    Thread Starter Ellsinore

    (@ellsinore)

    David, you rock!

    I still have a lot of tweaking to do, and some more questions that I’ll try to find the answers for, but at this point I am no longer completely lost!

    AND I’ve finally found the “resolved” box!

    Thank you!

    Kris

    Thread Starter Ellsinore

    (@ellsinore)

    That should have been the “strong” tag. FYI — I know the metadata for the PDFs is inconsistent. As with the image editor, I need to determine which PDF program includes the metadata I need. Simply exporting as PDF from OpenOffice doesn’t work. πŸ™‚

    Thread Starter Ellsinore

    (@ellsinore)

    Hum — interesting. The HTML for is rendering, but the <br> and <br /> tags are not.

    Thread Starter Ellsinore

    (@ellsinore)

    Hi, David! Another problem I’m having with this is that the HTML in the mla_caption isn’t being read. I’ve tried various forms of “template” but I’ve got the syntax wrong. I *did* have this working at one point, but don’t know how I did it. πŸ™‚ I think I do need to use “template” because I’ve now got JPEGs and PDFs on the list, and I read at one point that the parentheses make sure that if it doesn’t exist, it’s bypassed for that entry. Thanks!

    Thread Starter Ellsinore

    (@ellsinore)

    Also, ideally, I’d like to include my research documents here, too, that are in PDF format. I played with that a bit, but the metadata is *very* inconsistent there, and I had trouble sorting the different mime types by title? Thanks!

Viewing 15 replies - 16 through 30 (of 34 total)